From 3e611b27c12ffcee6ad5152c15890f10f26fbd63 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 19 Aug 2021 03:41:28 +0200 Subject: spidev fix --- .../linux/rvphone/cl-imx8/dts/cl-imx8-base.dtsi | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-base.dtsi b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-base.dtsi index 6b413cc..41e31dc 100644 --- a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-base.dtsi +++ b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-base.dtsi @@ -6,15 +6,6 @@ stdout-path = &uart3; }; - leds { - compatible = "gpio-leds"; - heartbeat-led { - label = "Heartbeat"; - gpios = <&gpio1 12 0>; - linux,default-trigger = "heartbeat"; - }; - }; - regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -45,6 +36,15 @@ }; }; + leds { + compatible = "gpio-leds"; + heartbeat-led { + label = "Heartbeat"; + gpios = <&gpio1 12 0>; + linux,default-trigger = "heartbeat"; + }; + }; + pwmleds { compatible = "pwm-leds"; @@ -185,9 +185,6 @@ fsl,pins = < MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX 0x79 MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX 0x79 - MX8MQ_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x79 - MX8MQ_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x79 - MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x19 >; }; @@ -333,7 +330,7 @@ #size-cells = <0>; spidev: spidev@0 { - compatible = "spidev"; + compatible = "spidev", "rohm,dh2228fv"; spi-max-frequency = <10000000>; reg = <0>; status = "okay"; -- cgit v1.2.3