summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2018-08-02 19:41:10 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:33:05 +0800
commit70144c5e967bd60e94e84595d0a35fb86c69ae5f (patch)
tree2d88a50a1061a456c73dd8e6aca5dbd5b86cafd0 /arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
parent909a7d18608224861ef7a0aca6ba1e736a7570fa (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-xarch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts26
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 = <&reg_usdhc2_vmmc>;
status = "okay";
};