0001 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
0002 //
0003 // Device Tree file for LX2160ARDB
0004 //
0005 // Copyright 2018-2020 NXP
0006
0007 /dts-v1/;
0008
0009 #include "fsl-lx2160a.dtsi"
0010
0011 / {
0012 model = "NXP Layerscape LX2160ARDB";
0013 compatible = "fsl,lx2160a-rdb", "fsl,lx2160a";
0014
0015 aliases {
0016 crypto = &crypto;
0017 mmc0 = &esdhc0;
0018 mmc1 = &esdhc1;
0019 serial0 = &uart0;
0020 };
0021
0022 chosen {
0023 stdout-path = "serial0:115200n8";
0024 };
0025
0026 sb_3v3: regulator-sb3v3 {
0027 compatible = "regulator-fixed";
0028 regulator-name = "MC34717-3.3VSB";
0029 regulator-min-microvolt = <3300000>;
0030 regulator-max-microvolt = <3300000>;
0031 regulator-boot-on;
0032 regulator-always-on;
0033 };
0034 };
0035
0036 &crypto {
0037 status = "okay";
0038 };
0039
0040 &dpmac3 {
0041 phy-handle = <&aquantia_phy1>;
0042 phy-connection-type = "usxgmii";
0043 managed = "in-band-status";
0044 };
0045
0046 &dpmac4 {
0047 phy-handle = <&aquantia_phy2>;
0048 phy-connection-type = "usxgmii";
0049 managed = "in-band-status";
0050 };
0051
0052 &dpmac5 {
0053 phy-handle = <&inphi_phy>;
0054 };
0055
0056 &dpmac6 {
0057 phy-handle = <&inphi_phy>;
0058 };
0059
0060 &dpmac17 {
0061 phy-handle = <&rgmii_phy1>;
0062 phy-connection-type = "rgmii-id";
0063 };
0064
0065 &dpmac18 {
0066 phy-handle = <&rgmii_phy2>;
0067 phy-connection-type = "rgmii-id";
0068 };
0069
0070 &emdio1 {
0071 status = "okay";
0072
0073 rgmii_phy1: ethernet-phy@1 {
0074 /* AR8035 PHY */
0075 compatible = "ethernet-phy-id004d.d072";
0076 interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
0077 reg = <0x1>;
0078 eee-broken-1000t;
0079 };
0080
0081 rgmii_phy2: ethernet-phy@2 {
0082 /* AR8035 PHY */
0083 compatible = "ethernet-phy-id004d.d072";
0084 interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
0085 reg = <0x2>;
0086 eee-broken-1000t;
0087 };
0088
0089 aquantia_phy1: ethernet-phy@4 {
0090 /* AQR107 PHY */
0091 compatible = "ethernet-phy-ieee802.3-c45";
0092 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
0093 reg = <0x4>;
0094 };
0095
0096 aquantia_phy2: ethernet-phy@5 {
0097 /* AQR107 PHY */
0098 compatible = "ethernet-phy-ieee802.3-c45";
0099 interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>;
0100 reg = <0x5>;
0101 };
0102 };
0103
0104 &can0 {
0105 status = "okay";
0106
0107 can-transceiver {
0108 max-bitrate = <5000000>;
0109 };
0110 };
0111
0112 &can1 {
0113 status = "okay";
0114
0115 can-transceiver {
0116 max-bitrate = <5000000>;
0117 };
0118 };
0119
0120 &emdio2 {
0121 status = "okay";
0122
0123 inphi_phy: ethernet-phy@0 {
0124 compatible = "ethernet-phy-id0210.7440";
0125 reg = <0x0>;
0126 };
0127 };
0128
0129 &esdhc0 {
0130 sd-uhs-sdr104;
0131 sd-uhs-sdr50;
0132 sd-uhs-sdr25;
0133 sd-uhs-sdr12;
0134 status = "okay";
0135 };
0136
0137 &esdhc1 {
0138 mmc-hs200-1_8v;
0139 mmc-hs400-1_8v;
0140 bus-width = <8>;
0141 status = "okay";
0142 };
0143
0144 &fspi {
0145 status = "okay";
0146
0147 mt35xu512aba0: flash@0 {
0148 #address-cells = <1>;
0149 #size-cells = <1>;
0150 compatible = "jedec,spi-nor";
0151 m25p,fast-read;
0152 spi-max-frequency = <50000000>;
0153 reg = <0>;
0154 spi-rx-bus-width = <8>;
0155 spi-tx-bus-width = <8>;
0156 };
0157
0158 mt35xu512aba1: flash@1 {
0159 #address-cells = <1>;
0160 #size-cells = <1>;
0161 compatible = "jedec,spi-nor";
0162 m25p,fast-read;
0163 spi-max-frequency = <50000000>;
0164 reg = <1>;
0165 spi-rx-bus-width = <8>;
0166 spi-tx-bus-width = <8>;
0167 };
0168 };
0169
0170 &i2c0 {
0171 status = "okay";
0172
0173 i2c-mux@77 {
0174 compatible = "nxp,pca9547";
0175 reg = <0x77>;
0176 #address-cells = <1>;
0177 #size-cells = <0>;
0178
0179 i2c@2 {
0180 #address-cells = <1>;
0181 #size-cells = <0>;
0182 reg = <0x2>;
0183
0184 power-monitor@40 {
0185 compatible = "ti,ina220";
0186 reg = <0x40>;
0187 shunt-resistor = <500>;
0188 };
0189 };
0190
0191 i2c@3 {
0192 #address-cells = <1>;
0193 #size-cells = <0>;
0194 reg = <0x3>;
0195
0196 temperature-sensor@4c {
0197 compatible = "nxp,sa56004";
0198 reg = <0x4c>;
0199 vcc-supply = <&sb_3v3>;
0200 };
0201
0202 temperature-sensor@4d {
0203 compatible = "nxp,sa56004";
0204 reg = <0x4d>;
0205 vcc-supply = <&sb_3v3>;
0206 };
0207 };
0208 };
0209 };
0210
0211 &i2c4 {
0212 status = "okay";
0213
0214 rtc@51 {
0215 compatible = "nxp,pcf2129";
0216 reg = <0x51>;
0217 /* IRQ_RTC_B -> IRQ08, active low */
0218 interrupts-extended = <&extirq 8 IRQ_TYPE_LEVEL_LOW>;
0219 };
0220 };
0221
0222 &optee {
0223 status = "okay";
0224 };
0225
0226 &pcs_mdio3 {
0227 status = "okay";
0228 };
0229
0230 &pcs_mdio4 {
0231 status = "okay";
0232 };
0233
0234 &sata0 {
0235 status = "okay";
0236 };
0237
0238 &sata1 {
0239 status = "okay";
0240 };
0241
0242 &sata2 {
0243 status = "okay";
0244 };
0245
0246 &sata3 {
0247 status = "okay";
0248 };
0249
0250 &uart0 {
0251 status = "okay";
0252 };
0253
0254 &uart1 {
0255 status = "okay";
0256 };
0257
0258 &usb0 {
0259 status = "okay";
0260 };
0261
0262 &usb1 {
0263 status = "okay";
0264 };