summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-04-05 11:15:21 +0200
committerPriyanka Jain <[email protected]>2022-04-26 17:18:39 +0530
commit7d1d31db91d897380bbbd88d448ddb72f8e816a2 (patch)
tree072eb5846db58d0a1ba82406b20926e4d0eb948f
parent0980cbba7b3cdec23bafb9cf6dbedc22979a38a1 (diff)
powerpc: dts: p2020: Add localbus node
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 <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
-rw-r--r--arch/powerpc/dts/p2020-post.dtsi7
-rw-r--r--arch/powerpc/dts/p2020rdb-pc.dts4
-rw-r--r--arch/powerpc/dts/p2020rdb-pc_36b.dts4
3 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi
index 8d30fa212c4..0a9e81a4248 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++ b/arch/powerpc/dts/p2020-post.dtsi
@@ -85,3 +85,10 @@
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>;
+};
diff --git a/arch/powerpc/dts/p2020rdb-pc.dts b/arch/powerpc/dts/p2020rdb-pc.dts
index b37931ac449..67fa340d09d 100644
--- a/arch/powerpc/dts/p2020rdb-pc.dts
+++ b/arch/powerpc/dts/p2020rdb-pc.dts
@@ -15,6 +15,10 @@
#size-cells = <2>;
interrupt-parent = <&mpic>;
+ lbc: localbus@ffe05000 {
+ reg = <0 0xffe05000 0 0x1000>;
+ };
+
soc: soc@ffe00000 {
ranges = <0x0 0x0 0xffe00000 0x100000>;
};
diff --git a/arch/powerpc/dts/p2020rdb-pc_36b.dts b/arch/powerpc/dts/p2020rdb-pc_36b.dts
index ecdc022d997..6f251960031 100644
--- a/arch/powerpc/dts/p2020rdb-pc_36b.dts
+++ b/arch/powerpc/dts/p2020rdb-pc_36b.dts
@@ -15,6 +15,10 @@
#size-cells = <2>;
interrupt-parent = <&mpic>;
+ lbc: localbus@fffe05000 {
+ reg = <0xf 0xffe05000 0 0x1000>;
+ };
+
soc: soc@fffe00000 {
ranges = <0x0 0xf 0xffe00000 0x100000>;
};