summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJianlong.Huang <jianlong.huang@starfivetech.com>2021-11-07 07:33:44 +0300
committersom.qin <som.qin@starfivetech.com>2021-12-30 08:37:34 +0300
commit26e56a202d6af54a19c2bc97ef1ab5b8804b3f54 (patch)
tree559638db1cdd22558b6b90b5e37cea84bc4fbbd2 /arch
parent3482c7c13ccda10ba88ab79ec097a410704646d9 (diff)
downloadu-boot-26e56a202d6af54a19c2bc97ef1ab5b8804b3f54.tar.xz
starfive: add JH7100 VisionFive V1 Support.
Signed-off-by: Jianlong.Huang <jianlong.huang@starfivetech.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/dts/Makefile1
-rw-r--r--arch/riscv/dts/jh7100-visionfive.dts17
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/riscv/dts/Makefile b/arch/riscv/dts/Makefile
index 62ce60c409..4a965cc11b 100644
--- a/arch/riscv/dts/Makefile
+++ b/arch/riscv/dts/Makefile
@@ -12,6 +12,7 @@ dtb-$(CONFIG_JH_EVB_V1) += starfive_jh7100_evb.dtb
dtb-$(CONFIG_JH_STARLIGHT) += starfive_jh7100_starlight.dtb
dtb-$(CONFIG_JH_STARLIGHT) += jh7100-beaglev-starlight.dtb
dtb-$(CONFIG_JH_STARLIGHT) += jh7100-beaglev-starlight-a1.dtb
+dtb-$(CONFIG_JH_STARLIGHT) += jh7100-visionfive.dtb
endif
targets += $(dtb-y)
diff --git a/arch/riscv/dts/jh7100-visionfive.dts b/arch/riscv/dts/jh7100-visionfive.dts
new file mode 100644
index 0000000000..33e51950b7
--- /dev/null
+++ b/arch/riscv/dts/jh7100-visionfive.dts
@@ -0,0 +1,17 @@
+// 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";
+};
+
+&i2c0 {
+ eeprom_dev:eeprom@50 {
+ compatible = "atmel,24c04";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
+}; \ No newline at end of file