rockchip: rk3328: rock64 - fix gen3 SPL hang
[oweals/u-boot.git] / arch / arm / dts / fsl-lx2160a.dtsi
index 42ce4379eceb3b7726e263177b92b692e58de1a6..1789da8638e438b71b771b52a3227b32bcb97171 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * NXP lx2160a SOC common device tree source
  *
- * Copyright 2018 NXP
+ * Copyright 2018-2020 NXP
  *
  */
 
                bus-range = <0x0 0xff>;
                ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>;
        };
+
+       fsl_mc: fsl-mc@80c000000 {
+               compatible = "fsl,qoriq-mc", "simple-mfd";
+               reg = <0x00000008 0x0c000000 0 0x40>,
+                     <0x00000000 0x08340000 0 0x40000>;
+               #address-cells = <3>;
+               #size-cells = <1>;
+
+               /*
+                * Region type 0x0 - MC portals
+                * Region type 0x1 - QBMAN portals
+                */
+               ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
+                         0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
+
+               dpmacs {
+                       compatible = "simple-mfd";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       dpmac1: dpmac@1 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x1>;
+                               status = "disabled";
+                       };
+
+                       dpmac2: dpmac@2 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x2>;
+                               status = "disabled";
+                       };
+
+                       dpmac3: dpmac@3 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x3>;
+                               status = "disabled";
+                       };
+
+                       dpmac4: dpmac@4 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x4>;
+                               status = "disabled";
+                       };
+
+                       dpmac5: dpmac@5 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x5>;
+                               status = "disabled";
+                       };
+
+                       dpmac6: dpmac@6 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x6>;
+                               status = "disabled";
+                       };
+
+                       dpmac7: dpmac@7 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x7>;
+                               status = "disabled";
+                       };
+
+                       dpmac8: dpmac@8 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x8>;
+                               status = "disabled";
+                       };
+
+                       dpmac9: dpmac@9 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x9>;
+                               status = "disabled";
+                       };
+
+                       dpmac10: dpmac@a {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xa>;
+                               status = "disabled";
+                       };
+
+                       dpmac11: dpmac@b {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xb>;
+                               status = "disabled";
+                       };
+
+                       dpmac12: dpmac@c {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xc>;
+                               status = "disabled";
+                       };
+
+                       dpmac13: dpmac@d {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xd>;
+                               status = "disabled";
+                       };
+
+                       dpmac14: dpmac@e {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xe>;
+                               status = "disabled";
+                       };
+
+                       dpmac15: dpmac@f {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0xf>;
+                               status = "disabled";
+                       };
+
+                       dpmac16: dpmac@10 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x10>;
+                               status = "disabled";
+                       };
+
+                       dpmac17: dpmac@11 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x11>;
+                               status = "disabled";
+                       };
+
+                       dpmac18: dpmac@12 {
+                               compatible = "fsl,qoriq-mc-dpmac";
+                               reg = <0x12>;
+                               status = "disabled";
+                       };
+               };
+       };
+
+       /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
+       emdio1: mdio@8b96000 {
+               compatible = "fsl,ls-mdio";
+               reg = <0x0 0x8b96000 0x0 0x1000>;
+               interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
+       /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
+       emdio2: mdio@8b97000 {
+               compatible = "fsl,ls-mdio";
+               reg = <0x0 0x8b97000 0x0 0x1000>;
+               interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
 };