diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2018-08-02 19:41:10 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2018-10-29 11:10:38 +0800 |
commit | 471eb5fb68c17f7eee07cd752bdfbd2d379be32d (patch) | |
tree | 106bd0a46102e1bceb93dfa43d687ae9ba2de46d /arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts | |
parent | 4a39ce0df51c98a08fbf8873e466824cdd12b604 (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>
(cherry picked from commit c24c9acf99b378130397980da2fe38e3cc411ed3)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts')
-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 416175db63bb..7268ee191295 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>; @@ -238,12 +227,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 @@ -387,6 +370,7 @@ pinctrl_usdhc2_gpio: usdhc2grpgpio { fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 >; }; @@ -898,12 +882,6 @@ status = "okay"; }; -&pwm4 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm4>; - status = "okay"; -}; - &uart1 { /* BT */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -959,8 +937,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"; }; |