dts: starfive: jh7110-common: split out mmc0 reset pins from common into boards
Subsystems (3)
PATCH 1/1 dts: starfive: jh7110-common: split out mmc0 reset pins from common into boards
Prepare for Orange Pi RV using jh7110-common.dtsi having GPIO62 assignment different than mmc0 reset by splitting this out into each board dts.
Signed-off-by E Shattow <[email protected]>
--- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 11 ----------- .../dts/starfive/jh7110-deepcomputing-fml13v01.dts | 13 +++++++++++++ arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts | 13 +++++++++++++ .../boot/dts/starfive/jh7110-milkv-marscm.dtsi | 13 +++++++++++++ .../boot/dts/starfive/jh7110-pine64-star64.dts | 13 +++++++++++++ .../dts/starfive/jh7110-starfive-visionfive-2.dtsi | 13 +++++++++++++ 6 files changed, 65 insertions(+), 11 deletions(-)
arch/riscv/boot/dts/starfive/jh7110-common.dtsi +0 -11
@@ -444,17 +444,6 @@ GPOEN_SYS_I2C6_DATA, }; mmc0_pins: mmc0-0 { - rst-pins { - pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, - GPOEN_ENABLE, - GPI_NONE)>; - bias-pull-up; - drive-strength = <12>; - input-disable; - input-schmitt-disable; - slew-rate = <0>; - }; - mmc-pins { pinmux = <PINMUX(PAD_SD0_CLK, 0)>, <PINMUX(PAD_SD0_CMD, 0)>,
arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts +13 -0
@@ -11,6 +11,19 @@ / { compatible = "deepcomputing,fml13v01", "starfive,jh7110"; }; +&mmc0_pins { + rst-pins { + pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, + GPOEN_ENABLE, + GPI_NONE)>; + bias-pull-up; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +}; + &pcie1 { perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>; phys = <&pciephy1>;
arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts +13 -0
@@ -22,6 +22,19 @@ &i2c0 { status = "okay"; }; +&mmc0_pins { + rst-pins { + pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, + GPOEN_ENABLE, + GPI_NONE)>; + bias-pull-up; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +}; + &pcie0 { status = "okay"; };
arch/riscv/boot/dts/starfive/jh7110-milkv-marscm.dtsi +13 -0
@@ -40,6 +40,19 @@ &i2c6 { status = "disabled"; }; +&mmc0_pins { + rst-pins { + pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, + GPOEN_ENABLE, + GPI_NONE)>; + bias-pull-up; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +}; + &mmc1 { #address-cells = <1>; #size-cells = <0>;
arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts +13 -0
@@ -44,6 +44,19 @@ &i2c0 { status = "okay"; }; +&mmc0_pins { + rst-pins { + pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, + GPOEN_ENABLE, + GPI_NONE)>; + bias-pull-up; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +}; + &pcie1 { status = "okay"; };
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +13 -0
@@ -41,6 +41,19 @@ &mmc0 { non-removable; }; +&mmc0_pins { + rst-pins { + pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, + GPOEN_ENABLE, + GPI_NONE)>; + bias-pull-up; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; +}; + &pcie0 { status = "okay"; };
base-commit: 6093a688a07da07808f0122f9aa2a3eed250d853
Signature · 1 line
2.50.0
From: Conor Dooley <[email protected]>
Quoted 4 lines · E Shattow
Prepare for Orange Pi RV using
jh7110-common.dtsihaving GPIO62 assignment different than mmc0 reset by splitting this out into each board dts.
Applied to riscv-dt-for-next, thanks!
[1/1] dts: starfive: jh7110-common: split out mmc0 reset pins from common into boards
https://git.kernel.org/conor/c/fa939a287224
Thanks,
Conor.