-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: dts: Add full JH7100, Starlight and VisionFive support
Based on the device tree in https://github.com/starfive-tech/u-boot/ with contributions from: yanhong.wang <[email protected]> Huan.Feng <[email protected]> ke.zhu <[email protected]> yiming.li <[email protected]> jack.zhu <[email protected]> Samin Guo <[email protected]> Chenjieqin <[email protected]> bo.li <[email protected]> Rearranged, cleanups, fixes, pins and resets added by Emil. Cleanups, fixes, clocks added by Geert. Cleanups and GPIO fixes from Drew. Thermal zone added by Stephen. PWM pins added by Jianlong. cpu-map added by Jonas. Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Stephen L Arnold <[email protected]> Signed-off-by: Drew Fustini <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Signed-off-by: Jonas Hahnfeld <[email protected]>
- Loading branch information
Showing
6 changed files
with
699 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight-a1.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: GPL-2.0 OR MIT | ||
/* | ||
* Copyright (C) 2021 Emil Renner Berthing <[email protected]> | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "jh7100-common.dtsi" | ||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
model = "BeagleV Starlight Beta A1"; | ||
compatible = "beagle,beaglev-starlight-jh7100-a1", "starfive,jh7100"; | ||
|
||
gpio-restart { | ||
compatible = "gpio-restart"; | ||
gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; | ||
priority = <224>; | ||
}; | ||
}; | ||
|
||
&gpio { | ||
/* don't reset gpio mux for serial console and reset gpio */ | ||
starfive,keep-gpiomux = <13 14 63>; | ||
}; | ||
|
||
&mdio { | ||
phy: ethernet-phy@7 { | ||
reg = <7>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.