ipq806x: use correct definition for nand-controller node
[openwrt/openwrt.git] / target / linux / ipq806x / files-5.4 / arch / arm / boot / dts / qcom-ipq8064-ap148.dts
index 02f60c90eeee718c763051ae789b3698c5db68ae..ec4535b55f7f28d0157733f90a6628446644a105 100644 (file)
 
                cs-gpios = <&qcom_pinmux 20 0>;
 
-               flash: m25p80@0 {
+               m25p80@0 {
                        compatible = "s25fl256s1";
                        #address-cells = <1>;
                        #size-cells = <1>;
        force_gen1 = <1>;
 };
 
-&nand {
+&nand_controller {
        status = "okay";
 
        pinctrl-0 = <&nand_pins>;
        pinctrl-names = "default";
 
-       cs0 {
+       nand@0 {
                reg = <0>;
                compatible = "qcom,nandcs";