Skip to content

Commit 01a7f9e

Browse files
committed
Merge tag 'riscv-dt-for-v6.10-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/dt-late
RISC-V Devicetrees for v6.10 Microchip: A simple addition of a power-monitor on the Icicle dev board, as the binding for it is now in mainline. StarFive: Support for the Milk-V Mars. This board is incredibly similar to the VisionFive v2 that is already supported, with only the really ethernet configuration being slightly different. Emil requested that a common dtsi file, so my fixes branch is pulled into for-next to avoid an annoying conflict between moved content and some erroneously added nodes that were removed as fixes this cycle. T-Head: Re-ordering of some nodes to match the DTS coding style on the th1520. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> * tag 'riscv-dt-for-v6.10-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux: riscv: dts: microchip: add pac1934 power-monitor to icicle riscv: dts: thead: Fix node ordering in TH1520 device tree riscv: dts: starfive: add Milkv Mars board device tree riscv: dts: starfive: introduce a common board dtsi for jh7110 based boards riscv: dts: starfive: visionfive 2: add "disable-wp" for tfcard riscv: dts: starfive: visionfive 2: add tf cd-gpios riscv: dts: starfive: visionfive 2: use cpus label for timebase freq riscv: dts: starfive: visionfive 2: update sound and codec dt node name dt-bindings: riscv: starfive: add Milkv Mars board riscv: dts: starfive: add 'cpus' label to jh7110 and jh7100 soc dtsi riscv: dts: starfive: visionfive 2: Remove non-existing I2S hardware riscv: dts: starfive: visionfive 2: Remove non-existing TDM hardware riscv: dts: starfive: Remove PMIC interrupt info for Visionfive 2 board Link: https://lore.kernel.org/r/20240508-crafter-cement-4f54e4182270@spud Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents aa32dec + 1c80d50 commit 01a7f9e

File tree

9 files changed

+693
-711
lines changed

9 files changed

+693
-711
lines changed

Documentation/devicetree/bindings/riscv/starfive.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626

2727
- items:
2828
- enum:
29+
- milkv,mars
2930
- starfive,visionfive-2-v1.2a
3031
- starfive,visionfive-2-v1.3b
3132
- const: starfive,jh7110

arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,38 @@
100100

101101
&i2c1 {
102102
status = "okay";
103+
104+
power-monitor@10 {
105+
compatible = "microchip,pac1934";
106+
reg = <0x10>;
107+
108+
#address-cells = <1>;
109+
#size-cells = <0>;
110+
111+
channel@1 {
112+
reg = <0x1>;
113+
shunt-resistor-micro-ohms = <10000>;
114+
label = "VDDREG";
115+
};
116+
117+
channel@2 {
118+
reg = <0x2>;
119+
shunt-resistor-micro-ohms = <10000>;
120+
label = "VDDA25";
121+
};
122+
123+
channel@3 {
124+
reg = <0x3>;
125+
shunt-resistor-micro-ohms = <10000>;
126+
label = "VDD25";
127+
};
128+
129+
channel@4 {
130+
reg = <0x4>;
131+
shunt-resistor-micro-ohms = <10000>;
132+
label = "VDDA_REG";
133+
};
134+
};
103135
};
104136

105137
&i2c2 {

arch/riscv/boot/dts/starfive/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ DTC_FLAGS_jh7110-starfive-visionfive-2-v1.3b := -@
88
dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-beaglev-starlight.dtb
99
dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-starfive-visionfive-v1.dtb
1010

11+
dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-milkv-mars.dtb
1112
dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.2a.dtb
1213
dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.3b.dtb

arch/riscv/boot/dts/starfive/jh7100.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#address-cells = <2>;
1414
#size-cells = <2>;
1515

16-
cpus {
16+
cpus: cpus {
1717
#address-cells = <1>;
1818
#size-cells = <0>;
1919

0 commit comments

Comments
 (0)