summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2017-09-14 10:25:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-20 08:30:15 +0200
commitf5098c4064372b9e7b4647e9e68ec274a43baccb (patch)
tree464ae286a7cec55407c89bed6b20cb45e847ce2a /arch
parentd7fdf95a89be4bd01a286f7f6c0d379af3a19a3c (diff)
downloadbarebox-f5098c4064372b9e7b4647e9e68ec274a43baccb.tar.gz
barebox-f5098c4064372b9e7b4647e9e68ec274a43baccb.tar.xz
MIPS: dts: ar9344: add APB bus
and move nodes which belong to APB. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dts/ar9344.dtsi42
1 files changed, 25 insertions, 17 deletions
diff --git a/arch/mips/dts/ar9344.dtsi b/arch/mips/dts/ar9344.dtsi
index 8587511124..3e105174d5 100644
--- a/arch/mips/dts/ar9344.dtsi
+++ b/arch/mips/dts/ar9344.dtsi
@@ -29,15 +29,33 @@
#address-cells = <1>;
#size-cells = <1>;
- uart0: uart@18020000 {
- compatible = "ns16550a", "qca,ar9344-uart0";
- reg = <0x18020000 0x20>;
+ apb {
+ compatible = "simple-bus";
+ ranges;
- reg-shift = <2>;
- reg-io-width = <4>;
- big-endian;
+ #address-cells = <1>;
+ #size-cells = <1>;
- status = "disabled";
+ uart0: uart@18020000 {
+ compatible = "ns16550a", "qca,ar9344-uart0";
+ reg = <0x18020000 0x20>;
+
+ reg-shift = <2>;
+ reg-io-width = <4>;
+ big-endian;
+
+ status = "disabled";
+ };
+
+ spi: spi@1f000000 {
+ compatible = "qca,ar7100-spi", "qca,ar9344-spi";
+ reg = <0x1f000000 0x1c>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "disabled";
+ };
};
mac0: mac@19000000 {
@@ -49,15 +67,5 @@
status = "disabled";
};
-
- spi: spi@1f000000 {
- compatible = "qca,ar7100-spi", "qca,ar9344-spi";
- reg = <0x1f000000 0x1c>;
-
- #address-cells = <1>;
- #size-cells = <0>;
-
- status = "disabled";
- };
};
};