Skip to content

Commit

Permalink
Merge tag 'riscv-dt-for-v6.10-take2' of https://git.kernel.org/pub/sc…
Browse files Browse the repository at this point in the history
…m/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 <[email protected]>

* 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 <[email protected]>
  • Loading branch information
arndb committed May 8, 2024
2 parents aa32dec + 1c80d50 commit 01a7f9e
Show file tree
Hide file tree
Showing 9 changed files with 693 additions and 711 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/riscv/starfive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ properties:

- items:
- enum:
- milkv,mars
- starfive,visionfive-2-v1.2a
- starfive,visionfive-2-v1.3b
- const: starfive,jh7110
Expand Down
32 changes: 32 additions & 0 deletions arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,38 @@

&i2c1 {
status = "okay";

power-monitor@10 {
compatible = "microchip,pac1934";
reg = <0x10>;

#address-cells = <1>;
#size-cells = <0>;

channel@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <10000>;
label = "VDDREG";
};

channel@2 {
reg = <0x2>;
shunt-resistor-micro-ohms = <10000>;
label = "VDDA25";
};

channel@3 {
reg = <0x3>;
shunt-resistor-micro-ohms = <10000>;
label = "VDD25";
};

channel@4 {
reg = <0x4>;
shunt-resistor-micro-ohms = <10000>;
label = "VDDA_REG";
};
};
};

&i2c2 {
Expand Down
1 change: 1 addition & 0 deletions arch/riscv/boot/dts/starfive/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ DTC_FLAGS_jh7110-starfive-visionfive-2-v1.3b := -@
dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-beaglev-starlight.dtb
dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-starfive-visionfive-v1.dtb

dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-milkv-mars.dtb
dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.2a.dtb
dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.3b.dtb
2 changes: 1 addition & 1 deletion arch/riscv/boot/dts/starfive/jh7100.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#address-cells = <2>;
#size-cells = <2>;

cpus {
cpus: cpus {
#address-cells = <1>;
#size-cells = <0>;

Expand Down
Loading

0 comments on commit 01a7f9e

Please sign in to comment.