From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Fri, 7 Mar 2025 10:05:08 +0100 Subject: dts: radxa-nio-12l: enable mmc1 Enable mmc1 so we have sdcard enabled in u-boot --- arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 43 ++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi index 111111111111..222222222222 100644 --- a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi +++ b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi @@ -195,6 +195,32 @@ bias-disable; }; }; + + mmc1_default_pins: mmc1-default-pins { + pins-clk { + pinmux = ; + bias-pull-down = ; + drive-strength = <8>; + }; + + pins-cmd-dat { + pinmux = , + , + , + , + ; + bias-pull-up = ; + drive-strength = <8>; + input-enable; + }; + }; + + mmc1_pins_detect: mmc1-detect-pins { + pins-insert { + pinmux = ; + bias-pull-up; + }; + }; }; &watchdog { @@ -282,3 +308,20 @@ }; }; }; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_default_pins>, <&mmc1_pins_detect>; + bus-width = <4>; + max-frequency = <200000000>; + cap-sd-highspeed; + cd-gpios = <&pio 129 GPIO_ACTIVE_LOW>; + no-mmc; + no-sdio; + sd-uhs-sdr50; + sd-uhs-sdr104; + /*FIXME: supply is provided by mt6360 ldo5 and 3*/ + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_3p3v>; + status = "okay"; +}; -- Armbian