ODROID-N2: arm64/dts: add missing 'spifc' device entry
authorDongjin Kim <tobetter@gmail.com>
Mon, 11 May 2020 08:37:52 +0000 (17:37 +0900)
committerDongjin Kim <tobetter@gmail.com>
Mon, 11 May 2020 08:38:12 +0000 (17:38 +0900)
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Idae5ea0ea84933339afd1a246fd205eab85eefc5

arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi

index 113dd78..f6bad94 100644 (file)
                                status = "disabled";
                        };
 
+                       spifc: spifc@14000 {
+                               status = "disabled";
+                               compatible = "amlogic,aml-spi-nor";
+                               reg = <0x0 0x14000 0x0 0x80>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&spifc_all_pins>;
+                               clocks = <&clkc CLKID_CLK81>;
+                               clock-names = "core";
+                       };
+
                        spicc1: spi@15000 {
                                compatible = "amlogic,meson-g12b-spicc",
                                             "amlogic,meson-g12a-spicc";
                };
        };
 
+       spifc_all_pins: spifc_all_pins {
+               mux {
+                       groups = "nor_d",
+                                "nor_q",
+                                "nor_c";
+                       function = "nor";
+                       input-enable;
+                       bias-pull-up;
+               };
+       };
+
        spicc1_pins: spicc1_pins {
                mux {
                        groups = "spi1_mosi",