diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2018-08-02 19:41:10 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 307b3fa736091bc625303d46eb98357bfa206fba (patch) | |
tree | 13ebbe40432184ac22f1baa8d8750be0b013cec1 /arch/arm64/boot | |
parent | 9c0a01f8c83e2dac1fd04675abc88796a1daa448 (diff) |
MLK-19117 ARM64: dts: imx8mm-evk: add usdhc2 cd support
imx8mm-evk revB board remove pwm led, and connect the gpio1_io15
to sd slot card detect pin. So this patch add usdhc2 cd feature
support, and remove the pwm led node in dts.
For gpio1_io15, need config to pull up mode, otherwise cd feature
will not work.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <Aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm64/boot')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts index d5a754befdb1..f20f18f0bdf4 100755 --- a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts @@ -45,17 +45,6 @@ #reset-cells = <0>; }; - pwmleds { - compatible = "pwm-leds"; - ledpwm4 { - label = "PWM4"; - pwms = <&pwm4 0 50000>; - max-brightness = <255>; - linux,default-trigger = "heartbeat"; - active-low; - }; - }; - regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -248,12 +237,6 @@ >; }; - pinctrl_pwm4: pwm4grp { - fsl,pins = < - MX8MM_IOMUXC_GPIO1_IO15_PWM4_OUT 0x16 - >; - }; - pinctrl_pmic: pmicirq { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 @@ -397,6 +380,7 @@ pinctrl_usdhc2_gpio: usdhc2grpgpio { fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 >; }; @@ -916,12 +900,6 @@ status = "okay"; }; -&pwm4 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm4>; - status = "okay"; -}; - &uart1 { /* BT */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -977,8 +955,8 @@ pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; bus-width = <4>; - non-removable; vmmc-supply = <®_usdhc2_vmmc>; status = "okay"; }; |