MXSCM-293-1 arm: dts: fixes for MX6 SCM devices on L4.9
authorJuan Gutierrez <juan.gutierrez@nxp.com>
Mon, 24 Apr 2017 20:40:32 +0000 (15:40 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:05 +0000 (15:22 -0500)
- replace legacy wakeup property with 'wakeup-source'
- add "jedec,spi-nor" flash compatible binding
- fix lcd display id
- fixig typo for gpios
- use external wdog_b reset instead of issuing a sw reset
- add off-on-delay for usdhc vmmc-supply regulator on mx6sxscm
- add missing sai1 and wdog1 configs for mx6sxscm
- fix vgen6 regulator maximum microvolt for mx6dqscm
- disable CAAM since cannot coexist with LCDIF for mx6sxscm
- add the reg into the rpmsg node for mx6sxscm

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts
arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts
arch/arm/boot/dts/imx6dqscm-qwks-rev2.dtsi
arch/arm/boot/dts/imx6sxscm-1gb-evb-lcdif1-ldo.dts
arch/arm/boot/dts/imx6sxscm-1gb-evb-m4-ldo.dts
arch/arm/boot/dts/imx6sxscm-512mb-evb-m4-ldo.dts
arch/arm/boot/dts/imx6sxscm-evb.dts

index f0dcf7d..1013cf7 100644 (file)
@@ -32,7 +32,7 @@
        internal_scm_flash: m25p80@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "micron,n25q128a13";
+               compatible = "micron,n25q128a13", "jedec,spi-nor";
                spi-max-frequency = <20000000>;
                reg = <0>;
        };
 
                        vgen6_reg: vgen6 {
                                regulator-min-microvolt = <1800000>;
-                               regulator-max-microvolt = <3150000>;
+                               regulator-max-microvolt = <3300000>;
                                regulator-always-on;
                        };
                };
index e0ca328..5136cd7 100644 (file)
@@ -28,7 +28,7 @@
        internal_scm_flash: m25p80@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "micron,n25q128a13";
+               compatible = "micron,n25q128a13", "jedec,spi-nor";
                spi-max-frequency = <20000000>;
                reg = <0>;
        };
 
                        vgen6_reg: vgen6 {
                                regulator-min-microvolt = <1800000>;
-                               regulator-max-microvolt = <3150000>;
+                               regulator-max-microvolt = <3300000>;
                                regulator-always-on;
                        };
                };
index c421e95..bc74d32 100644 (file)
                power {
                        label = "Power Button";
                        gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        linux,code = <KEY_POWER>;
                };
        };
        flash: m25p80@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "micron,n25q128a13";
+               compatible = "micron,n25q128a13", "jedec,spi-nor";
                spi-max-frequency = <20000000>;
                reg = <0>;
        };
 
                        vgen6_reg: vgen6 {
                                regulator-min-microvolt = <1800000>;
-                               regulator-max-microvolt = <3150000>;
+                               regulator-max-microvolt = <3300000>;
                                regulator-always-on;
                        };
                };
 
 &hdmi_core {
        ipu_id = <0>;
-       disp_id = <0>;
+       disp_id = <1>;
        status = "okay";
 };
 
 &wdog2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
        fsl,wdog_b;
        status = "okay";
 };
index 5b3e054..03ddbe9 100644 (file)
@@ -35,4 +35,8 @@
 
 &ov5640 {
        status = "disabled";
-};
\ No newline at end of file
+};
+
+&crypto {
+       status = "disabled";
+};
index 8839631..af0e8be 100644 (file)
@@ -56,6 +56,8 @@
 };
 
 &rpmsg{
+       vdev-nums = <1>;
+       reg = <0xbfff0000 0x10000>;
        status = "okay";
 };
 
index a43f8d7..2408594 100644 (file)
@@ -14,5 +14,6 @@
 };
 
 &rpmsg{
-       reg = <0x9FFF0000 0x8000>;
+       vdev-nums = <1>;
+       reg = <0x9FFF0000 0x10000>;
 };
index a905b71..97651e7 100644 (file)
@@ -85,6 +85,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
                        regulator-name = "peri_3v3";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
-                       gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
+                       gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                        regulator-always-on;
                };
        display = <&display0>;
        status = "disabled";
 
-       display0: display {
+       display0: display@0 {
                bits-per-pixel = <16>;
                bus-width = <24>;
 
        disp-dev = "ldb";
        status = "okay";
 
-       display1: display {
+       display1: display@1 {
                bits-per-pixel = <16>;
                bus-width = <18>;
        };
        status = "okay";
 };
 
+&sai1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_sai1>;
+       status = "disabled";
+};
+
 &spdif {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_spdif>;
        wifi-host;
        no-1-8-v;
        keep-power-in-suspend;
-       enable-sdio-wakeup;
+       wakeup-source;
        status = "okay";
 };
 
        cd-gpios = <>;
        wp-gpios = <>;
        keep-power-in-suspend;
-       enable-sdio-wakeup;
+       wakeup-source;
        pm-ignore-notify;
        vmmc-supply = <>;
        status = "okay";