]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: dts: p2020: Add localbus node
authorPali Rohár <pali@kernel.org>
Tue, 5 Apr 2022 09:15:21 +0000 (11:15 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
This node is required for NAND and NOR support. Node is taken from the
upstream Linux kernel DTS file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/p2020-post.dtsi
arch/powerpc/dts/p2020rdb-pc.dts
arch/powerpc/dts/p2020rdb-pc_36b.dts

index 8d30fa212c43adb1847d785de6e63e74fdf556e5..0a9e81a4248cf49344a464e442f18e45aec3b95b 100644 (file)
        device_type = "pci";
        bus-range = <0x0 0xff>;
 };
+
+&lbc {
+       #address-cells = <2>;
+       #size-cells = <1>;
+       compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus";
+       interrupts = <19 2 0 0>;
+};
index b37931ac44913f7421ddeb55f8161714c70ba48d..67fa340d09d0626f0ebca9608e75092bc5417bbb 100644 (file)
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
 
+       lbc: localbus@ffe05000 {
+               reg = <0 0xffe05000 0 0x1000>;
+       };
+
        soc: soc@ffe00000 {
                ranges = <0x0 0x0 0xffe00000 0x100000>;
        };
index ecdc022d9974b31898d8189ed83a16eb23aeacd0..6f251960031322403006a454a173f7d6f56eb8a4 100644 (file)
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
 
+       lbc: localbus@fffe05000 {
+               reg = <0xf 0xffe05000 0 0x1000>;
+       };
+
        soc: soc@fffe00000 {
                ranges = <0x0 0xf 0xffe00000 0x100000>;
        };