From 2d21357b65c3a19dbb4d42c80a87bd002a7e9a51 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Fri, 21 Jun 2019 18:25:12 +0800 Subject: ath79: ar93xx/qca95xx: move gmac/wmac/pcie node out of apb bus according to functional block diagram in datasheet, these devices don't belong to apb bus. Move these nodes out to match datasheet description. Signed-off-by: Chuanhong Guo (cherry picked from commit f65501e1c2fee17d61f047cee404ddf5f0caf31a) Tested-by: Lech Perczak [TP-Link TL-WDR4300 v1] --- target/linux/ath79/dts/qca9557.dtsi | 98 ++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'target/linux/ath79/dts/qca9557.dtsi') diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi index b726a382ee..b29dfc72b2 100644 --- a/target/linux/ath79/dts/qca9557.dtsi +++ b/target/linux/ath79/dts/qca9557.dtsi @@ -176,65 +176,65 @@ #reset-cells = <1>; }; + }; - pcie0: pcie-controller@180c0000 { - compatible = "qcom,ar7240-pci"; - #address-cells = <3>; - #size-cells = <2>; - bus-range = <0x0 0x0>; - reg = <0x180c0000 0x1000>, /* CRP */ - <0x180f0000 0x100>, /* CTRL */ - <0x14000000 0x1000>; /* CFG */ - reg-names = "crp_base", "ctrl_base", "cfg_base"; - ranges = <0x2000000 0 0x10000000 0x10000000 0 0x02000000 /* pci memory */ - 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */ - interrupt-parent = <&intc2>; - interrupts = <1>; + gmac: gmac@18070000 { + compatible = "qca,qca9550-gmac"; + reg = <0x18070000 0x58>; + }; - interrupt-controller; - #interrupt-cells = <1>; + pcie0: pcie-controller@180c0000 { + compatible = "qcom,ar7240-pci"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0x0>; + reg = <0x180c0000 0x1000>, /* CRP */ + <0x180f0000 0x100>, /* CTRL */ + <0x14000000 0x1000>; /* CFG */ + reg-names = "crp_base", "ctrl_base", "cfg_base"; + ranges = <0x2000000 0 0x10000000 0x10000000 0 0x02000000 /* pci memory */ + 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */ + interrupt-parent = <&intc2>; + interrupts = <1>; - interrupt-map-mask = <0 0 0 1>; - interrupt-map = <0 0 0 0 &pcie0 0>; - status = "disabled"; - }; + interrupt-controller; + #interrupt-cells = <1>; - pcie1: pcie-controller@18250000 { - compatible = "qcom,ar7240-pci"; - #address-cells = <3>; - #size-cells = <2>; - bus-range = <0x0 0x0>; - reg = <0x18250000 0x1000>, /* CRP */ - <0x18280000 0x100>, /* CTRL */ - <0x16000000 0x1000>; /* CFG */ - reg-names = "crp_base", "ctrl_base", "cfg_base"; - ranges = <0x2000000 0 0x12000000 0x12000000 0 0x02000000 /* pci memory */ - 0x1000000 0 0x00000000 0x0000001 0 0x000001>; /* io space */ - interrupt-parent = <&intc3>; - interrupts = <0>; + interrupt-map-mask = <0 0 0 1>; + interrupt-map = <0 0 0 0 &pcie0 0>; + status = "disabled"; + }; - interrupt-controller; - #interrupt-cells = <1>; + wmac: wmac@18100000 { + compatible = "qca,qca9550-wmac"; + reg = <0x18100000 0x10000>; - interrupt-map-mask = <0 0 0 1>; - interrupt-map = <0 0 0 0 &pcie1 0>; - status = "disabled"; - }; + interrupt-parent = <&intc2>; + interrupts = <0>; - gmac: gmac@18070000 { - compatible = "qca,qca9550-gmac"; - reg = <0x18070000 0x58>; - }; + status = "disabled"; + }; - wmac: wmac@18100000 { - compatible = "qca,qca9550-wmac"; - reg = <0x18100000 0x10000>; + pcie1: pcie-controller@18250000 { + compatible = "qcom,ar7240-pci"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0x0>; + reg = <0x18250000 0x1000>, /* CRP */ + <0x18280000 0x100>, /* CTRL */ + <0x16000000 0x1000>; /* CFG */ + reg-names = "crp_base", "ctrl_base", "cfg_base"; + ranges = <0x2000000 0 0x12000000 0x12000000 0 0x02000000 /* pci memory */ + 0x1000000 0 0x00000000 0x0000001 0 0x000001>; /* io space */ + interrupt-parent = <&intc3>; + interrupts = <0>; - interrupt-parent = <&intc2>; - interrupts = <0>; + interrupt-controller; + #interrupt-cells = <1>; - status = "disabled"; - }; + interrupt-map-mask = <0 0 0 1>; + interrupt-map = <0 0 0 0 &pcie1 0>; + status = "disabled"; }; usb0: usb@1b000000 { -- cgit v1.2.3