Skip to content

Commit 519df17

Browse files
committed
Merge tag 'riscv-dt-for-v6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/dt
RISC-V Devicetrees for v6.15 Starfive: All changes for jh7110-based boards including the removal of a dac that does not exist and the addition of usb3 support on the star64 board and pcie on the framework mainboard. Microchip: Update pcie reg properties to fix a mistake originally describing them. Here rather than in fixes, since the driver maintains support for the old format. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> * tag 'riscv-dt-for-v6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux: riscv: dts: starfive: jh7110-pine64-star64: enable USB 3.0 port riscv: dts: starfive: jh7110: pciephy0 USB 3.0 configuration registers riscv: dts: starfive: fml13v01: enable pcie1 riscv: dts: starfive: remove non-existent dac from jh7110 riscv: dts: starfive: Unify regulator naming scheme riscv: dts: microchip: update pcie reg properties to new format Link: https://lore.kernel.org/r/20250318-favorite-presuming-bf2fcf55bf6a@spud Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 370ce5a + 38818f7 commit 519df17

7 files changed

Lines changed: 51 additions & 13 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
#interrupt-cells = <0x1>;
3333
#size-cells = <0x2>;
3434
device_type = "pci";
35-
reg = <0x30 0x0 0x0 0x8000000>, <0x0 0x43000000 0x0 0x10000>;
36-
reg-names = "cfg", "apb";
35+
reg = <0x30 0x0 0x0 0x8000000>, <0x0 0x43008000 0x0 0x2000>,
36+
<0x0 0x4300a000 0x0 0x2000>;
37+
reg-names = "cfg", "bridge", "ctrl";
3738
bus-range = <0x0 0x7f>;
3839
interrupt-parent = <&plic>;
3940
interrupts = <119>;

arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
#interrupt-cells = <0x1>;
2121
#size-cells = <0x2>;
2222
device_type = "pci";
23-
reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43000000 0x0 0x10000>;
24-
reg-names = "cfg", "apb";
23+
reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43008000 0x0 0x2000>,
24+
<0x0 0x4300a000 0x0 0x2000>;
25+
reg-names = "cfg", "bridge", "ctrl";
2526
bus-range = <0x0 0x7f>;
2627
interrupt-parent = <&plic>;
2728
interrupts = <119>;

arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
#interrupt-cells = <0x1>;
2121
#size-cells = <0x2>;
2222
device_type = "pci";
23-
reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43000000 0x0 0x10000>;
24-
reg-names = "cfg", "apb";
23+
reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43008000 0x0 0x2000>,
24+
<0x0 0x4300a000 0x0 0x2000>;
25+
reg-names = "cfg", "bridge", "ctrl";
2526
bus-range = <0x0 0x7f>;
2627
interrupt-parent = <&plic>;
2728
interrupts = <119>;

arch/riscv/boot/dts/starfive/jh7110-common.dtsi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
regulator-always-on;
234234
regulator-min-microvolt = <500000>;
235235
regulator-max-microvolt = <1540000>;
236-
regulator-name = "vdd-cpu";
236+
regulator-name = "vdd_cpu";
237237
};
238238

239239
emmc_vdd: aldo4 {
@@ -350,12 +350,6 @@
350350
&spi0 {
351351
pinctrl-names = "default";
352352
pinctrl-0 = <&spi0_pins>;
353-
354-
spi_dev0: spi@0 {
355-
compatible = "rohm,dh2228fv";
356-
reg = <0>;
357-
spi-max-frequency = <10000000>;
358-
};
359353
};
360354

361355
&syscrg {

arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,40 @@
1111
compatible = "deepcomputing,fml13v01", "starfive,jh7110";
1212
};
1313

14+
&pcie1 {
15+
perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
16+
phys = <&pciephy1>;
17+
pinctrl-names = "default";
18+
pinctrl-0 = <&pcie1_pins>;
19+
status = "okay";
20+
};
21+
22+
&sysgpio {
23+
pcie1_pins: pcie1-0 {
24+
clkreq-pins {
25+
pinmux = <GPIOMUX(29, GPOUT_LOW,
26+
GPOEN_DISABLE,
27+
GPI_NONE)>;
28+
bias-pull-down;
29+
drive-strength = <2>;
30+
input-enable;
31+
input-schmitt-disable;
32+
slew-rate = <0>;
33+
};
34+
35+
wake-pins {
36+
pinmux = <GPIOMUX(28, GPOUT_HIGH,
37+
GPOEN_DISABLE,
38+
GPI_NONE)>;
39+
bias-pull-up;
40+
drive-strength = <2>;
41+
input-enable;
42+
input-schmitt-disable;
43+
slew-rate = <0>;
44+
};
45+
};
46+
};
47+
1448
&usb0 {
1549
dr_mode = "host";
1650
status = "okay";

arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,8 @@
100100
pinctrl-0 = <&usb0_pins>;
101101
status = "okay";
102102
};
103+
104+
&usb_cdns3 {
105+
phys = <&usbphy0>, <&pciephy0>;
106+
phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy";
107+
};

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,8 @@
611611
pciephy0: phy@10210000 {
612612
compatible = "starfive,jh7110-pcie-phy";
613613
reg = <0x0 0x10210000 0x0 0x10000>;
614+
starfive,sys-syscon = <&sys_syscon 0x18>;
615+
starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>;
614616
#phy-cells = <0>;
615617
};
616618

0 commit comments

Comments
 (0)