riscv: dts: Add early A1 variant of the BeagleV Starlight board

This is an early version of the BeagleV Starlight board that has GPIO63
wired up to tell the PMIC to reset the whole board rather than just the
ethernet phy as it does on the later versions sent out as part of the
BeagleV beta program.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
This commit is contained in:
Emil Renner Berthing 2021-08-06 13:52:16 +02:00
parent 59af5e130d
commit 67d76a9cfd
2 changed files with 26 additions and 1 deletions

View file

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_SOC_STARFIVE_VIC7100) += jh7100-beaglev-starlight.dtb
dtb-$(CONFIG_SOC_STARFIVE_VIC7100) += jh7100-beaglev-starlight.dtb jh7100-beaglev-starlight-a1.dtb

View file

@ -0,0 +1,25 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* Copyright (c) 2021 Emil Renner Berthing <kernel@esmil.dk> */
/dts-v1/;
#include "jh7100-beaglev-starlight.dts"
#include <dt-bindings/gpio/gpio.h>
/ {
model = "BeagleV Starlight Beta A1";
gpio-restart {
compatible = "gpio-restart";
gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
priority = <256>;
};
};
&gmac {
/delete-property/ snps,reset-gpios;
};
&gpio {
/* don't reset gpio mux for serial console and reset gpio */
starfive,keep-gpiomux = <13 14 63>;
};