riscv: dts: starfive: visionfive 2: Enable usb0 and fix tdm pins sort order
Subsystems (3)
PATCH 1/1 riscv: dts: starfive: visionfive 2: Enable usb0 and fix tdm pins sort order
usb0 was disabled by mistake when merging, so enable it. tdm_pins node should be sorted alphabetically.
--- .../jh7110-starfive-visionfive-2.dtsi | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +25 -24
@@ -440,30 +440,6 @@ GPOEN_ENABLE, }; }; - uart0_pins: uart0-0 { - tx-pins { - pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, - GPOEN_ENABLE, - GPI_NONE)>; - bias-disable; - drive-strength = <12>; - input-disable; - input-schmitt-disable; - slew-rate = <0>; - }; - - rx-pins { - pinmux = <GPIOMUX(6, GPOUT_LOW, - GPOEN_DISABLE, - GPI_SYS_UART0_RX)>; - bias-disable; /* external pull-up */ - drive-strength = <2>; - input-enable; - input-schmitt-enable; - slew-rate = <0>; - }; - }; - tdm_pins: tdm-0 { tx-pins { pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,
@@ -497,6 +473,30 @@ GPOEN_DISABLE, input-enable; }; }; + + uart0_pins: uart0-0 { + tx-pins { + pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, + GPOEN_ENABLE, + GPI_NONE)>; + bias-disable; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; + + rx-pins { + pinmux = <GPIOMUX(6, GPOUT_LOW, + GPOEN_DISABLE, + GPI_SYS_UART0_RX)>; + bias-disable; /* external pull-up */ + drive-strength = <2>; + input-enable; + input-schmitt-enable; + slew-rate = <0>; + }; + }; }; &tdm {
@@ -513,6 +513,7 @@ &uart0 { &usb0 { dr_mode = "peripheral"; + status = "okay"; }; &U74_1 {
Signature · 7 lines
2.38.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 61 lines · Hal Feng
usb0 was disabled by mistake when merging, so enable it.
tdm_pinsnode should be sorted alphabetically.Fixes e7c304c0346d ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm")Signed-off-by Hal Feng <[email protected]>--- .../jh7110-starfive-visionfive-2.dtsi | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-)arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +13
-24@@ -440,30 +440,6 @@ GPOEN_ENABLE, }; }; - uart0_pins: uart0-0 { - tx-pins { - pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, - GPOEN_ENABLE, - GPI_NONE)>; - bias-disable; - drive-strength = <12>; - input-disable; - input-schmitt-disable; - slew-rate = <0>; - }; - - rx-pins { - pinmux = <GPIOMUX(6, GPOUT_LOW, - GPOEN_DISABLE, - GPI_SYS_UART0_RX)>; - bias-disable; /* external pull-up */ - drive-strength = <2>; - input-enable; - input-schmitt-enable; - slew-rate = <0>; - }; - }; - tdm_pins: tdm-0 { tx-pins { pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,@@ -497,6 +473,30 @@ GPOEN_DISABLE, input-enable; }; }; + + uart0_pins: uart0-0 { + tx-pins { + pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, + GPOEN_ENABLE, + GPI_NONE)>; + bias-disable; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi GPOEN_DISABLE, · line 498
Quoted 10 lines
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +10
-0+ rx-pins { + pinmux = <GPIOMUX(6, GPOUT_LOW, + GPOEN_DISABLE, + GPI_SYS_UART0_RX)>; + bias-disable; /* external pull-up */ + drive-strength = <2>; + input-enable; + input-schmitt-enable; + slew-rate = <0>; + };
What is fixed in this hunk? Order of nodes is just a style, not a bug needing backports.
Best regards,
Krzysztof
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 68 lines · Krzysztof Kozlowski
Quoted 67 lines · Hal Feng
usb0 was disabled by mistake when merging, so enable it.
tdm_pinsnode should be sorted alphabetically.Fixes e7c304c0346d ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm")Signed-off-by Hal Feng <[email protected]>--- .../jh7110-starfive-visionfive-2.dtsi | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-)arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +19
-24@@ -440,30 +440,6 @@ GPOEN_ENABLE, }; }; - uart0_pins: uart0-0 { - tx-pins { - pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, - GPOEN_ENABLE, - GPI_NONE)>; - bias-disable; - drive-strength = <12>; - input-disable; - input-schmitt-disable; - slew-rate = <0>; - }; - - rx-pins { - pinmux = <GPIOMUX(6, GPOUT_LOW, - GPOEN_DISABLE, - GPI_SYS_UART0_RX)>; - bias-disable; /* external pull-up */ - drive-strength = <2>; - input-enable; - input-schmitt-enable; - slew-rate = <0>; - }; - }; - tdm_pins: tdm-0 { tx-pins { pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,@@ -497,6 +473,30 @@ GPOEN_DISABLE, input-enable; }; }; + + uart0_pins: uart0-0 { + tx-pins { + pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, + GPOEN_ENABLE, + GPI_NONE)>; + bias-disable; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; + + rx-pins { + pinmux = <GPIOMUX(6, GPOUT_LOW, + GPOEN_DISABLE, + GPI_SYS_UART0_RX)>; + bias-disable; /* external pull-up */ + drive-strength = <2>;
Quoted 8 lines
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi GPOEN_DISABLE, · line 498
Quoted 4 lines
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +4
-0+ input-enable; + input-schmitt-enable; + slew-rate = <0>; + };What is fixed in this hunk? Order of nodes is just a style, not a bug needing backports.
Please split this in two parts, with one for my screwed up conflict resolution & one for the node ordering.
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 78 lines · Conor Dooley
Quoted 68 lines · Krzysztof Kozlowski
Quoted 67 lines · Hal Feng
usb0 was disabled by mistake when merging, so enable it.
tdm_pinsnode should be sorted alphabetically.Fixes e7c304c0346d ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm")Signed-off-by Hal Feng <[email protected]>--- .../jh7110-starfive-visionfive-2.dtsi | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-)arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +19
-24@@ -440,30 +440,6 @@ GPOEN_ENABLE, }; }; - uart0_pins: uart0-0 { - tx-pins { - pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, - GPOEN_ENABLE, - GPI_NONE)>; - bias-disable; - drive-strength = <12>; - input-disable; - input-schmitt-disable; - slew-rate = <0>; - }; - - rx-pins { - pinmux = <GPIOMUX(6, GPOUT_LOW, - GPOEN_DISABLE, - GPI_SYS_UART0_RX)>; - bias-disable; /* external pull-up */ - drive-strength = <2>; - input-enable; - input-schmitt-enable; - slew-rate = <0>; - }; - }; - tdm_pins: tdm-0 { tx-pins { pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,@@ -497,6 +473,30 @@ GPOEN_DISABLE, input-enable; }; }; + + uart0_pins: uart0-0 { + tx-pins { + pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, + GPOEN_ENABLE, + GPI_NONE)>; + bias-disable; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; + + rx-pins { + pinmux = <GPIOMUX(6, GPOUT_LOW, + GPOEN_DISABLE, + GPI_SYS_UART0_RX)>; + bias-disable; /* external pull-up */ + drive-strength = <2>;Quoted 8 lines
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi GPOEN_DISABLE, · line 498
Quoted 4 lines
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +4
-0+ input-enable; + input-schmitt-enable; + slew-rate = <0>; + };What is fixed in this hunk? Order of nodes is just a style, not a bug needing backports.
Quoted 2 lines
Please split this in two parts, with one for my screwed up conflict resolution & one for the node ordering.
OK, I will split this into two patches. Thanks.
Best regards,
Hal
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv