From: "hongbo.wang" <hongbo.w...@nxp.com>

Signed-off-by: hongbo.wang <hongbo.w...@nxp.com>
---
 configs/arm64/dts/inmate-ls1043a-rdb.dts | 767 ++++++++++++++++++++++-
 1 file changed, 761 insertions(+), 6 deletions(-)

diff --git a/configs/arm64/dts/inmate-ls1043a-rdb.dts 
b/configs/arm64/dts/inmate-ls1043a-rdb.dts
index eb8bc172..34629a41 100644
--- a/configs/arm64/dts/inmate-ls1043a-rdb.dts
+++ b/configs/arm64/dts/inmate-ls1043a-rdb.dts
@@ -24,6 +24,14 @@
 
        aliases {
                serial0 = &duart1;
+               fman0 = &fman0;
+               ethernet0 = &enet0;
+               ethernet1 = &enet1;
+               ethernet2 = &enet2;
+               ethernet3 = &enet3;
+               ethernet4 = &enet4;
+               ethernet5 = &enet5;
+               ethernet6 = &enet6;
        };
 
        cpus {
@@ -74,6 +82,33 @@
                };
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               bman_fbpr: bman-fbpr {
+                       compatible = "shared-dma-pool";
+                       size = <0 0x1000000>;
+                       alignment = <0 0x1000000>;
+                       no-map;
+               };
+
+               qman_fqd: qman-fqd {
+                       compatible = "shared-dma-pool";
+                       size = <0 0x400000>;
+                       alignment = <0 0x400000>;
+                       no-map;
+               };
+
+               qman_pfdr: qman-pfdr {
+                       compatible = "shared-dma-pool";
+                       size = <0 0x2000000>;
+                       alignment = <0 0x2000000>;
+                       no-map;
+               };
+       };
+
        sysclk: sysclk {
                compatible = "fixed-clock";
                #clock-cells = <0>;
@@ -113,7 +148,6 @@
                #size-cells = <2>;
                ranges;
                dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
-               dma-coherent;
 
 
                ddr: memory-controller@1080000 {
@@ -121,18 +155,15 @@
                        reg = <0x0 0x1080000 0x0 0x1000>;
                        interrupts = <0 144 0x4>;
                        big-endian;
+                       dma-coherent;
                };
 
-               scfg: scfg@1570000 {
-                       compatible = "fsl,ls1043a-scfg", "syscon";
-                       reg = <0x0 0x1570000 0x0 0x10000>;
-                       big-endian;
-               };
 
                dcfg: dcfg@1ee0000 {
                        compatible = "fsl,ls1043a-dcfg", "syscon";
                        reg = <0x0 0x1ee0000 0x0 0x1000>;
                        big-endian;
+                       dma-coherent;
                };
 
                clockgen: clocking@1ee1000 {
@@ -140,6 +171,7 @@
                        reg = <0x0 0x1ee1000 0x0 0x1000>;
                        #clock-cells = <2>;
                        clocks = <&sysclk>;
+                       dma-coherent;
                };
 
                duart1: serial@21c0600 {
@@ -147,6 +179,443 @@
                        reg = <0x00 0x21c0600 0x0 0x100>;
                        clocks = <&clockgen 4 0>;
                        status = "okay";
+                       dma-coherent;
+               };
+
+               qman: qman@1880000 {
+                       compatible = "fsl,qman";
+                       reg = <0x0 0x1880000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                       memory-region = <&qman_fqd &qman_pfdr>;
+                       dma-coherent;
+                       clock-frequency = <400000000>;
+               };
+
+               bman: bman@1890000 {
+                       compatible = "fsl,bman";
+                       reg = <0x0 0x1890000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                       memory-region = <&bman_fbpr>;
+                       dma-coherent;
+               };
+
+               bportals: bman-portals@508000000 {
+                       ranges = <0x0 0x5 0x08000000 0x8000000>;
+                       dma-coherent;
+               };
+
+               qportals: qman-portals@500000000 {
+                       ranges = <0x0 0x5 0x00000000 0x8000000>;
+                       dma-coherent;
+               };
+
+               ptp_timer0: ptp-timer@1afe000 {
+                       compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc";
+                       reg = <0x0 0x1afe000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clockgen 3 0>;
+                       dma-coherent;
+               };
+
+               /* fman3-0 */
+               fman0: fman@1a00000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       cell-index = <0>;
+                       compatible = "fsl,fman";
+                       ranges = <0x0 0x0 0x1a00000 0xfe000>;
+                       reg = <0x0 0x1a00000 0x0 0xfe000>;
+                       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clockgen 3 0>;
+                       clock-names = "fmanclk";
+                       fsl,qman-channel-range = <0x800 0x10>;
+                       ptimer-handle = <&ptp_timer0>;
+                       dma-coherent;
+
+                       cc {
+                               compatible = "fsl,fman-cc";
+                       };
+
+                       muram@0 {
+                               compatible = "fsl,fman-muram";
+                               reg = <0x0 0x60000>;
+                       };
+
+                       bmi@80000 {
+                               compatible = "fsl,fman-bmi";
+                               reg = <0x80000 0x400>;
+                       };
+
+                       qmi@80400 {
+                               compatible = "fsl,fman-qmi";
+                               reg = <0x80400 0x400>;
+                       };
+
+                       fman0_oh1: port@82000 {
+                               cell-index = <0>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x82000 0x1000>;
+                               fsl,qman-channel-id = <0x809>;
+                       };
+
+                       fman0_oh2: port@83000 {
+                               cell-index = <1>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x83000 0x1000>;
+                               fsl,qman-channel-id = <0x80a>;
+                       };
+
+                       fman0_oh3: port@84000 {
+                               cell-index = <2>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x84000 0x1000>;
+                               fsl,qman-channel-id = <0x80b>;
+                       };
+
+                       fman0_oh4: port@85000 {
+                               cell-index = <3>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x85000 0x1000>;
+                               fsl,qman-channel-id = <0x80c>;
+                       };
+
+                       fman0_oh5: port@86000 {
+                               cell-index = <4>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x86000 0x1000>;
+                               fsl,qman-channel-id = <0x80d>;
+                       };
+
+                       fman0_oh6: port@87000 {
+                               cell-index = <5>;
+                               compatible = "fsl,fman-port-oh";
+                               reg = <0x87000 0x1000>;
+                               fsl,qman-channel-id = <0x80e>;
+                       };
+
+                       policer@c0000 {
+                               compatible = "fsl,fman-policer";
+                               reg = <0xc0000 0x1000>;
+                       };
+
+                       keygen@c1000 {
+                               compatible = "fsl,fman-keygen";
+                               reg = <0xc1000 0x1000>;
+                       };
+
+                       dma@c2000 {
+                               compatible = "fsl,fman-dma";
+                               reg = <0xc2000 0x1000>;
+                       };
+
+                       fpm@c3000 {
+                               compatible = "fsl,fman-fpm";
+                               reg = <0xc3000 0x1000>;
+                       };
+
+                       parser@c7000 {
+                               compatible = "fsl,fman-parser";
+                               reg = <0xc7000 0x1000>;
+                       };
+
+                       vsps@dc000 {
+                               compatible = "fsl,fman-vsps";
+                               reg = <0xdc000 0x1000>;
+                       };
+
+                       mdio0: mdio@fc000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xfc000 0x1000>;
+                       };
+
+                       xmdio0: mdio@fd000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xfd000 0x1000>;
+                       };
+
+                       /* fman3-0-1g-0 */
+                       fman0_rx_0x08: port@88000 {
+                               cell-index = <0x8>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x88000 0x1000>;
+                       };
+
+                       fman0_tx_0x28: port@a8000 {
+                               cell-index = <0x28>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xa8000 0x1000>;
+                               fsl,qman-channel-id = <0x802>;
+                       };
+
+                       ethernet@e0000 {
+                               cell-index = <0>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xe0000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x08 
&fman0_tx_0x28>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy0>;
+                       };
+
+                       mdio@e1000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xe1000 0x1000>;
+
+                               pcsphy0: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-1g-1 */
+                       fman0_rx_0x09: port@89000 {
+                               cell-index = <0x9>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x89000 0x1000>;
+                       };
+
+                       fman0_tx_0x29: port@a9000 {
+                               cell-index = <0x29>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xa9000 0x1000>;
+                               fsl,qman-channel-id = <0x803>;
+                       };
+
+                       ethernet@e2000 {
+                               cell-index = <1>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xe2000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x09 
&fman0_tx_0x29>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy1>;
+                       };
+
+                       mdio@e3000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xe3000 0x1000>;
+
+                               pcsphy1: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-1g-2 */
+                       fman0_rx_0x0a: port@8a000 {
+                               cell-index = <0xa>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x8a000 0x1000>;
+                       };
+
+                       fman0_tx_0x2a: port@aa000 {
+                               cell-index = <0x2a>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xaa000 0x1000>;
+                               fsl,qman-channel-id = <0x804>;
+                       };
+
+                       ethernet@e4000 {
+                               cell-index = <2>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xe4000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x0a 
&fman0_tx_0x2a>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy2>;
+                       };
+
+                       mdio@e5000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xe5000 0x1000>;
+
+                               pcsphy2: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-1g-3 */
+                       fman0_rx_0x0b: port@8b000 {
+                               cell-index = <0xb>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x8b000 0x1000>;
+                       };
+
+                       fman0_tx_0x2b: port@ab000 {
+                               cell-index = <0x2b>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xab000 0x1000>;
+                               fsl,qman-channel-id = <0x805>;
+                       };
+
+                       ethernet@e6000 {
+                               cell-index = <3>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xe6000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x0b 
&fman0_tx_0x2b>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy3>;
+                       };
+
+                       mdio@e7000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xe7000 0x1000>;
+
+                               pcsphy3: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-1g-4 */
+                       fman0_rx_0x0c: port@8c000 {
+                               cell-index = <0xc>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x8c000 0x1000>;
+                       };
+
+                       fman0_tx_0x2c: port@ac000 {
+                               cell-index = <0x2c>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xac000 0x1000>;
+                               fsl,qman-channel-id = <0x806>;
+                       };
+
+                       ethernet@e8000 {
+                               cell-index = <4>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xe8000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x0c 
&fman0_tx_0x2c>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy4>;
+                       };
+
+                       mdio@e9000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xe9000 0x1000>;
+
+                               pcsphy4: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-1g-5 */
+                       fman0_rx_0x0d: port@8d000 {
+                               cell-index = <0xd>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-1g-rx";
+                               reg = <0x8d000 0x1000>;
+                       };
+
+                       fman0_tx_0x2d: port@ad000 {
+                               cell-index = <0x2d>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-1g-tx";
+                               reg = <0xad000 0x1000>;
+                               fsl,qman-channel-id = <0x807>;
+                       };
+
+                       ethernet@ea000 {
+                               cell-index = <5>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xea000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x0d 
&fman0_tx_0x2d>;
+                               ptp-timer = <&ptp_timer0>;
+                               pcsphy-handle = <&pcsphy5>;
+                       };
+
+                       mdio@eb000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xeb000 0x1000>;
+
+                               pcsphy5: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+
+                       /* fman3-0-10g-0 */
+                       fman0_rx_0x10: port@90000 {
+                               cell-index = <0x10>;
+                               compatible = "fsl,fman-v3-port-rx", 
"fsl,fman-port-10g-rx";
+                               reg = <0x90000 0x1000>;
+                               fsl,fman-10g-port;
+                       };
+
+                       fman0_tx_0x30: port@b0000 {
+                               cell-index = <0x30>;
+                               compatible = "fsl,fman-v3-port-tx", 
"fsl,fman-port-10g-tx";
+                               reg = <0xb0000 0x1000>;
+                               fsl,fman-10g-port;
+                               fsl,qman-channel-id = <0x800>;
+                       };
+
+                       ethernet@f0000 {
+                               cell-index = <0x8>;
+                               compatible = "fsl,fman-memac";
+                               reg = <0xf0000 0x1000>;
+                               fsl,fman-ports = <&fman0_rx_0x10 
&fman0_tx_0x30>;
+                               pcsphy-handle = <&pcsphy6>;
+                       };
+
+                       mdio@f1000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,fman-memac-mdio", 
"fsl,fman-xmdio";
+                               reg = <0xf1000 0x1000>;
+
+                               pcsphy6: ethernet-phy@0 {
+                                       reg = <0x0>;
+                               };
+                       };
+               };
+
+               fsldpaa: fsl,dpaa {
+                       compatible = "fsl,ls1043a-dpaa", "simple-bus", 
"fsl,dpaa";
+                       dma-coherent;
+                       ethernet@0 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet0>;
+                               dma-coherent;
+                       };
+                       ethernet@1 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet1>;
+                               dma-coherent;
+                       };
+                       ethernet@2 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet2>;
+                               dma-coherent;
+                       };
+                       ethernet@3 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet3>;
+                               dma-coherent;
+                       };
+                       ethernet@4 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet4>;
+                               dma-coherent;
+                       };
+                       ethernet@5 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet5>;
+                               dma-coherent;
+                       };
+                       ethernet@8 {
+                               compatible = "fsl,dpa-ethernet";
+                               fsl,fman-mac = <&enet6>;
+                               dma-coherent;
+                       };
                };
 
        };
@@ -173,3 +642,289 @@
        };
 
 };
+
+&qportals {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       compatible = "simple-bus";
+
+       qportal0: qman-portal@0 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x0 0x4000>, <0x4000000 0x4000>;
+               interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <0>;
+       };
+
+       qportal1: qman-portal@10000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x10000 0x4000>, <0x4010000 0x4000>;
+               interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <1>;
+       };
+
+       qportal2: qman-portal@20000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x20000 0x4000>, <0x4020000 0x4000>;
+               interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <2>;
+       };
+
+       qportal3: qman-portal@30000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x30000 0x4000>, <0x4030000 0x4000>;
+               interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <3>;
+       };
+
+       qportal4: qman-portal@40000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x40000 0x4000>, <0x4040000 0x4000>;
+               interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <4>;
+       };
+
+       qportal5: qman-portal@50000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x50000 0x4000>, <0x4050000 0x4000>;
+               interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <5>;
+       };
+
+       qportal6: qman-portal@60000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x60000 0x4000>, <0x4060000 0x4000>;
+               interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <6>;
+       };
+
+       qportal7: qman-portal@70000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x70000 0x4000>, <0x4070000 0x4000>;
+               interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <7>;
+       };
+
+       qportal8: qman-portal@80000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x80000 0x4000>, <0x4080000 0x4000>;
+               interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <8>;
+       };
+
+       qportal9: qman-portal@90000 {
+               compatible = "fsl,qman-portal-3.2.0", "fsl,qman-portal";
+               reg = <0x90000 0x4000>, <0x4090000 0x4000>;
+               interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <9>;
+       };
+
+       qman-fqids@0 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <256 256>;
+       };
+
+       qman-fqids@1 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <32768 32768>;
+       };
+
+       qman-pools@0 {
+               compatible = "fsl,pool-channel-range";
+               fsl,pool-channel-range = <0x401 0xf>;
+       };
+
+       qman-cgrids@0 {
+               compatible = "fsl,cgrid-range";
+               fsl,cgrid-range = <0 256>;
+       };
+
+       qman-ceetm@0 {
+               compatible = "fsl,qman-ceetm";
+               fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
+               fsl,ceetm-sp-range = <0 16>;
+               fsl,ceetm-lni-range = <0 8>;
+               fsl,ceetm-channel-range = <0 32>;
+       };
+};
+
+&bportals {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       compatible = "simple-bus";
+
+       bman-portal@0 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x0 0x4000>, <0x4000000 0x4000>;
+               interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <0>;
+       };
+
+       bman-portal@10000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x10000 0x4000>, <0x4010000 0x4000>;
+               interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <1>;
+       };
+
+       bman-portal@20000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x20000 0x4000>, <0x4020000 0x4000>;
+               interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <2>;
+       };
+
+       bman-portal@30000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x30000 0x4000>, <0x4030000 0x4000>;
+               interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <3>;
+       };
+
+       bman-portal@40000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x40000 0x4000>, <0x4040000 0x4000>;
+               interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <4>;
+       };
+
+       bman-portal@50000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x50000 0x4000>, <0x4050000 0x4000>;
+               interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <5>;
+       };
+
+       bman-portal@60000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x60000 0x4000>, <0x4060000 0x4000>;
+               interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <6>;
+       };
+
+       bman-portal@70000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x70000 0x4000>, <0x4070000 0x4000>;
+               interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <7>;
+       };
+
+       bman-portal@80000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x80000 0x4000>, <0x4080000 0x4000>;
+               interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <8>;
+       };
+
+       bman-portal@90000 {
+               compatible = "fsl,bman-portal-2.1.3", "fsl,bman-portal";
+               reg = <0x90000 0x4000>, <0x4090000 0x4000>;
+               interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <9>;
+       };
+
+       bman-bpids@0 {
+               compatible = "fsl,bpid-range";
+               fsl,bpid-range = <32 32>;
+       };
+};
+
+&fman0 {
+       fsl,erratum-a050385;
+       compatible = "fsl,fman", "simple-bus";
+
+       /* these aliases provide the FMan ports mapping */
+       enet0: ethernet@e0000 {
+               phy-handle = <&qsgmii_phy1>;
+               phy-connection-type = "qsgmii";
+               local-mac-address = [0e 09 00 01 03 05];
+       };
+
+       enet1: ethernet@e2000 {
+               phy-handle = <&qsgmii_phy2>;
+               phy-connection-type = "qsgmii";
+               local-mac-address = [0e 09 00 01 03 06];
+       };
+
+       enet2: ethernet@e4000 {
+               phy-handle = <&rgmii_phy1>;
+               phy-connection-type = "rgmii-txid";
+               local-mac-address = [0e 09 00 01 03 07];
+       };
+
+       enet3: ethernet@e6000 {
+               phy-handle = <&rgmii_phy2>;
+               phy-connection-type = "rgmii-txid";
+               local-mac-address = [0e 09 00 01 03 08];
+       };
+
+       enet4: ethernet@e8000 {
+               phy-handle = <&qsgmii_phy3>;
+               phy-connection-type = "qsgmii";
+               local-mac-address = [0e 09 00 01 03 09];
+       };
+
+       enet5: ethernet@ea000 {
+               phy-handle = <&qsgmii_phy4>;
+               phy-connection-type = "qsgmii";
+               local-mac-address = [0e 09 00 01 03 0a];
+       };
+
+       enet6: ethernet@f0000 { /* 10GEC1 */
+               phy-handle = <&aqr105_phy>;
+               phy-connection-type = "xgmii";
+               local-mac-address = [0e 09 00 01 03 04];
+       };
+
+       mdio@fc000 {
+               rgmii_phy1: ethernet-phy@1 {
+                       reg = <0x1>;
+               };
+
+               rgmii_phy2: ethernet-phy@2 {
+                       reg = <0x2>;
+               };
+
+               qsgmii_phy1: ethernet-phy@4 {
+                       reg = <0x4>;
+               };
+
+               qsgmii_phy2: ethernet-phy@5 {
+                       reg = <0x5>;
+               };
+
+               qsgmii_phy3: ethernet-phy@6 {
+                       reg = <0x6>;
+               };
+
+               qsgmii_phy4: ethernet-phy@7 {
+                       reg = <0x7>;
+               };
+       };
+
+       mdio@fd000 {
+               aqr105_phy: ethernet-phy@1 {
+                       compatible = "ethernet-phy-ieee802.3-c45";
+                       interrupts = <0 132 4>;
+                       reg = <0x1>;
+               };
+       };
+};
+
+&bman_fbpr {
+       compatible = "fsl,bman-fbpr";
+       alloc-ranges = <0 0 0x10000 0>;
+};
+&qman_fqd {
+       compatible = "fsl,qman-fqd";
+       alloc-ranges = <0 0 0x10000 0>;
+};
+&qman_pfdr {
+       compatible = "fsl,qman-pfdr";
+       alloc-ranges = <0 0 0x10000 0>;
+};
+
+&soc {
+       fman@1a00000 {
+#include "inmate-ls1043a-rdb-fman-ucode.dtsi"
+       };
+};
-- 
2.17.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20210203065057.27914-3-hongbo.wang%40nxp.com.

Reply via email to