mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
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:
parent
59af5e130d
commit
67d76a9cfd
2 changed files with 26 additions and 1 deletions
|
@ -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
|
||||
|
|
25
arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight-a1.dts
Normal file
25
arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight-a1.dts
Normal 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>;
|
||||
};
|
Loading…
Add table
Reference in a new issue