diff options
author | andyhu-stf <89558762+andyhu-stf@users.noreply.github.com> | 2022-01-06 16:11:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 16:11:48 +0300 |
commit | 31d6026d57d81c9519ef68213ff531ead68ad882 (patch) | |
tree | 7a8465d851947d57cc759f9b4a228606e3e22d5c /arch/riscv/dts/jh7100-visionfive.dts | |
parent | 649230306040264cc749ad2bfb68d6d21a2921ed (diff) | |
parent | c9954fb33ecb480dae56882ff8bf3dd8218644ef (diff) | |
download | u-boot-31d6026d57d81c9519ef68213ff531ead68ad882.tar.xz |
Merge pull request #27 from shalasaka/JH7100_Multimedia_V0.1.0_for_visionfive
Add starfive visionfive board support at brach JH7100_Multimedia_V0.1.0
Diffstat (limited to 'arch/riscv/dts/jh7100-visionfive.dts')
-rw-r--r-- | arch/riscv/dts/jh7100-visionfive.dts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/riscv/dts/jh7100-visionfive.dts b/arch/riscv/dts/jh7100-visionfive.dts new file mode 100644 index 0000000000..341911139b --- /dev/null +++ b/arch/riscv/dts/jh7100-visionfive.dts @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2021 Jianlong Huang <jianlong.huang@starfivetech.com> */ + +/dts-v1/; +#include "jh7100-beaglev-starlight.dts" + +/ { + model = "StarFive VisionFive V1"; + + 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>; +}; + +&i2c0 { + eeprom_dev:eeprom@50 { + compatible = "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + }; +};
\ No newline at end of file |