1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2c66ec88fSEmmanuel Vadot// 3c66ec88fSEmmanuel Vadot// Device Tree file for LX2160ARDB 4c66ec88fSEmmanuel Vadot// 55def4c47SEmmanuel Vadot// Copyright 2018-2020 NXP 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadot/dts-v1/; 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot#include "fsl-lx2160a.dtsi" 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot/ { 12c66ec88fSEmmanuel Vadot model = "NXP Layerscape LX2160ARDB"; 13c66ec88fSEmmanuel Vadot compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadot aliases { 16c66ec88fSEmmanuel Vadot crypto = &crypto; 175def4c47SEmmanuel Vadot mmc0 = &esdhc0; 185def4c47SEmmanuel Vadot mmc1 = &esdhc1; 19c66ec88fSEmmanuel Vadot serial0 = &uart0; 20c66ec88fSEmmanuel Vadot }; 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot chosen { 23c66ec88fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 24c66ec88fSEmmanuel Vadot }; 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot sb_3v3: regulator-sb3v3 { 27c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 28c66ec88fSEmmanuel Vadot regulator-name = "MC34717-3.3VSB"; 29c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 30c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 31c66ec88fSEmmanuel Vadot regulator-boot-on; 32c66ec88fSEmmanuel Vadot regulator-always-on; 33c66ec88fSEmmanuel Vadot }; 34c66ec88fSEmmanuel Vadot}; 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot&crypto { 37c66ec88fSEmmanuel Vadot status = "okay"; 38c66ec88fSEmmanuel Vadot}; 39c66ec88fSEmmanuel Vadot 405def4c47SEmmanuel Vadot&dpmac3 { 415def4c47SEmmanuel Vadot phy-handle = <&aquantia_phy1>; 425def4c47SEmmanuel Vadot phy-connection-type = "usxgmii"; 435def4c47SEmmanuel Vadot managed = "in-band-status"; 445def4c47SEmmanuel Vadot}; 455def4c47SEmmanuel Vadot 465def4c47SEmmanuel Vadot&dpmac4 { 475def4c47SEmmanuel Vadot phy-handle = <&aquantia_phy2>; 485def4c47SEmmanuel Vadot phy-connection-type = "usxgmii"; 495def4c47SEmmanuel Vadot managed = "in-band-status"; 505def4c47SEmmanuel Vadot}; 515def4c47SEmmanuel Vadot 52*e67e8565SEmmanuel Vadot&dpmac5 { 53*e67e8565SEmmanuel Vadot phy-handle = <&inphi_phy>; 54*e67e8565SEmmanuel Vadot}; 55*e67e8565SEmmanuel Vadot 56*e67e8565SEmmanuel Vadot&dpmac6 { 57*e67e8565SEmmanuel Vadot phy-handle = <&inphi_phy>; 58*e67e8565SEmmanuel Vadot}; 59*e67e8565SEmmanuel Vadot 60c66ec88fSEmmanuel Vadot&dpmac17 { 61c66ec88fSEmmanuel Vadot phy-handle = <&rgmii_phy1>; 62c66ec88fSEmmanuel Vadot phy-connection-type = "rgmii-id"; 63c66ec88fSEmmanuel Vadot}; 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot&dpmac18 { 66c66ec88fSEmmanuel Vadot phy-handle = <&rgmii_phy2>; 67c66ec88fSEmmanuel Vadot phy-connection-type = "rgmii-id"; 68c66ec88fSEmmanuel Vadot}; 69c66ec88fSEmmanuel Vadot 70c66ec88fSEmmanuel Vadot&emdio1 { 71c66ec88fSEmmanuel Vadot status = "okay"; 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot rgmii_phy1: ethernet-phy@1 { 74c66ec88fSEmmanuel Vadot /* AR8035 PHY */ 75c66ec88fSEmmanuel Vadot compatible = "ethernet-phy-id004d.d072"; 76354d7675SEmmanuel Vadot interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>; 77c66ec88fSEmmanuel Vadot reg = <0x1>; 78c66ec88fSEmmanuel Vadot eee-broken-1000t; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot 81c66ec88fSEmmanuel Vadot rgmii_phy2: ethernet-phy@2 { 82c66ec88fSEmmanuel Vadot /* AR8035 PHY */ 83c66ec88fSEmmanuel Vadot compatible = "ethernet-phy-id004d.d072"; 84354d7675SEmmanuel Vadot interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>; 85c66ec88fSEmmanuel Vadot reg = <0x2>; 86c66ec88fSEmmanuel Vadot eee-broken-1000t; 87c66ec88fSEmmanuel Vadot }; 885def4c47SEmmanuel Vadot 895def4c47SEmmanuel Vadot aquantia_phy1: ethernet-phy@4 { 905def4c47SEmmanuel Vadot /* AQR107 PHY */ 915def4c47SEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 92354d7675SEmmanuel Vadot interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>; 935def4c47SEmmanuel Vadot reg = <0x4>; 945def4c47SEmmanuel Vadot }; 955def4c47SEmmanuel Vadot 965def4c47SEmmanuel Vadot aquantia_phy2: ethernet-phy@5 { 975def4c47SEmmanuel Vadot /* AQR107 PHY */ 985def4c47SEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 99354d7675SEmmanuel Vadot interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>; 1005def4c47SEmmanuel Vadot reg = <0x5>; 1015def4c47SEmmanuel Vadot }; 1025def4c47SEmmanuel Vadot}; 1035def4c47SEmmanuel Vadot 1045def4c47SEmmanuel Vadot&can0 { 1055def4c47SEmmanuel Vadot status = "okay"; 1065def4c47SEmmanuel Vadot 1075def4c47SEmmanuel Vadot can-transceiver { 1085def4c47SEmmanuel Vadot max-bitrate = <5000000>; 1095def4c47SEmmanuel Vadot }; 1105def4c47SEmmanuel Vadot}; 1115def4c47SEmmanuel Vadot 1125def4c47SEmmanuel Vadot&can1 { 1135def4c47SEmmanuel Vadot status = "okay"; 1145def4c47SEmmanuel Vadot 1155def4c47SEmmanuel Vadot can-transceiver { 1165def4c47SEmmanuel Vadot max-bitrate = <5000000>; 1175def4c47SEmmanuel Vadot }; 118c66ec88fSEmmanuel Vadot}; 119c66ec88fSEmmanuel Vadot 120*e67e8565SEmmanuel Vadot&emdio2 { 121*e67e8565SEmmanuel Vadot status = "okay"; 122*e67e8565SEmmanuel Vadot 123*e67e8565SEmmanuel Vadot inphi_phy: ethernet-phy@0 { 124*e67e8565SEmmanuel Vadot compatible = "ethernet-phy-id0210.7440"; 125*e67e8565SEmmanuel Vadot reg = <0x0>; 126*e67e8565SEmmanuel Vadot }; 127*e67e8565SEmmanuel Vadot}; 128*e67e8565SEmmanuel Vadot 129c66ec88fSEmmanuel Vadot&esdhc0 { 130c66ec88fSEmmanuel Vadot sd-uhs-sdr104; 131c66ec88fSEmmanuel Vadot sd-uhs-sdr50; 132c66ec88fSEmmanuel Vadot sd-uhs-sdr25; 133c66ec88fSEmmanuel Vadot sd-uhs-sdr12; 134c66ec88fSEmmanuel Vadot status = "okay"; 135c66ec88fSEmmanuel Vadot}; 136c66ec88fSEmmanuel Vadot 137c66ec88fSEmmanuel Vadot&esdhc1 { 138c66ec88fSEmmanuel Vadot mmc-hs200-1_8v; 139c66ec88fSEmmanuel Vadot mmc-hs400-1_8v; 140c66ec88fSEmmanuel Vadot bus-width = <8>; 141c66ec88fSEmmanuel Vadot status = "okay"; 142c66ec88fSEmmanuel Vadot}; 143c66ec88fSEmmanuel Vadot 144c66ec88fSEmmanuel Vadot&fspi { 145c66ec88fSEmmanuel Vadot status = "okay"; 146c66ec88fSEmmanuel Vadot 147c66ec88fSEmmanuel Vadot mt35xu512aba0: flash@0 { 148c66ec88fSEmmanuel Vadot #address-cells = <1>; 149c66ec88fSEmmanuel Vadot #size-cells = <1>; 150c66ec88fSEmmanuel Vadot compatible = "jedec,spi-nor"; 151c66ec88fSEmmanuel Vadot m25p,fast-read; 152c66ec88fSEmmanuel Vadot spi-max-frequency = <50000000>; 153c66ec88fSEmmanuel Vadot reg = <0>; 154c66ec88fSEmmanuel Vadot spi-rx-bus-width = <8>; 155c66ec88fSEmmanuel Vadot spi-tx-bus-width = <8>; 156c66ec88fSEmmanuel Vadot }; 157c66ec88fSEmmanuel Vadot 158c66ec88fSEmmanuel Vadot mt35xu512aba1: flash@1 { 159c66ec88fSEmmanuel Vadot #address-cells = <1>; 160c66ec88fSEmmanuel Vadot #size-cells = <1>; 161c66ec88fSEmmanuel Vadot compatible = "jedec,spi-nor"; 162c66ec88fSEmmanuel Vadot m25p,fast-read; 163c66ec88fSEmmanuel Vadot spi-max-frequency = <50000000>; 164c66ec88fSEmmanuel Vadot reg = <1>; 165c66ec88fSEmmanuel Vadot spi-rx-bus-width = <8>; 166c66ec88fSEmmanuel Vadot spi-tx-bus-width = <8>; 167c66ec88fSEmmanuel Vadot }; 168c66ec88fSEmmanuel Vadot}; 169c66ec88fSEmmanuel Vadot 170c66ec88fSEmmanuel Vadot&i2c0 { 171c66ec88fSEmmanuel Vadot status = "okay"; 172c66ec88fSEmmanuel Vadot 173c66ec88fSEmmanuel Vadot i2c-mux@77 { 174c66ec88fSEmmanuel Vadot compatible = "nxp,pca9547"; 175c66ec88fSEmmanuel Vadot reg = <0x77>; 176c66ec88fSEmmanuel Vadot #address-cells = <1>; 177c66ec88fSEmmanuel Vadot #size-cells = <0>; 178c66ec88fSEmmanuel Vadot 179c66ec88fSEmmanuel Vadot i2c@2 { 180c66ec88fSEmmanuel Vadot #address-cells = <1>; 181c66ec88fSEmmanuel Vadot #size-cells = <0>; 182c66ec88fSEmmanuel Vadot reg = <0x2>; 183c66ec88fSEmmanuel Vadot 184c66ec88fSEmmanuel Vadot power-monitor@40 { 185c66ec88fSEmmanuel Vadot compatible = "ti,ina220"; 186c66ec88fSEmmanuel Vadot reg = <0x40>; 187c66ec88fSEmmanuel Vadot shunt-resistor = <500>; 188c66ec88fSEmmanuel Vadot }; 189c66ec88fSEmmanuel Vadot }; 190c66ec88fSEmmanuel Vadot 191c66ec88fSEmmanuel Vadot i2c@3 { 192c66ec88fSEmmanuel Vadot #address-cells = <1>; 193c66ec88fSEmmanuel Vadot #size-cells = <0>; 194c66ec88fSEmmanuel Vadot reg = <0x3>; 195c66ec88fSEmmanuel Vadot 196c66ec88fSEmmanuel Vadot temperature-sensor@4c { 197c66ec88fSEmmanuel Vadot compatible = "nxp,sa56004"; 198c66ec88fSEmmanuel Vadot reg = <0x4c>; 199c66ec88fSEmmanuel Vadot vcc-supply = <&sb_3v3>; 200c66ec88fSEmmanuel Vadot }; 201c66ec88fSEmmanuel Vadot 202c66ec88fSEmmanuel Vadot temperature-sensor@4d { 203c66ec88fSEmmanuel Vadot compatible = "nxp,sa56004"; 204c66ec88fSEmmanuel Vadot reg = <0x4d>; 205c66ec88fSEmmanuel Vadot vcc-supply = <&sb_3v3>; 206c66ec88fSEmmanuel Vadot }; 207c66ec88fSEmmanuel Vadot }; 208c66ec88fSEmmanuel Vadot }; 209c66ec88fSEmmanuel Vadot}; 210c66ec88fSEmmanuel Vadot 211c66ec88fSEmmanuel Vadot&i2c4 { 212c66ec88fSEmmanuel Vadot status = "okay"; 213c66ec88fSEmmanuel Vadot 214c66ec88fSEmmanuel Vadot rtc@51 { 215c66ec88fSEmmanuel Vadot compatible = "nxp,pcf2129"; 216c66ec88fSEmmanuel Vadot reg = <0x51>; 2175def4c47SEmmanuel Vadot /* IRQ_RTC_B -> IRQ08, active low */ 2185def4c47SEmmanuel Vadot interrupts-extended = <&extirq 8 IRQ_TYPE_LEVEL_LOW>; 219c66ec88fSEmmanuel Vadot }; 220c66ec88fSEmmanuel Vadot}; 221c66ec88fSEmmanuel Vadot 222*e67e8565SEmmanuel Vadot&optee { 223*e67e8565SEmmanuel Vadot status = "okay"; 224*e67e8565SEmmanuel Vadot}; 225*e67e8565SEmmanuel Vadot 2265def4c47SEmmanuel Vadot&pcs_mdio3 { 2275def4c47SEmmanuel Vadot status = "okay"; 2285def4c47SEmmanuel Vadot}; 2295def4c47SEmmanuel Vadot 2305def4c47SEmmanuel Vadot&pcs_mdio4 { 2315def4c47SEmmanuel Vadot status = "okay"; 2325def4c47SEmmanuel Vadot}; 2335def4c47SEmmanuel Vadot 234c66ec88fSEmmanuel Vadot&sata0 { 235c66ec88fSEmmanuel Vadot status = "okay"; 236c66ec88fSEmmanuel Vadot}; 237c66ec88fSEmmanuel Vadot 238c66ec88fSEmmanuel Vadot&sata1 { 239c66ec88fSEmmanuel Vadot status = "okay"; 240c66ec88fSEmmanuel Vadot}; 241c66ec88fSEmmanuel Vadot 242c66ec88fSEmmanuel Vadot&sata2 { 243c66ec88fSEmmanuel Vadot status = "okay"; 244c66ec88fSEmmanuel Vadot}; 245c66ec88fSEmmanuel Vadot 246c66ec88fSEmmanuel Vadot&sata3 { 247c66ec88fSEmmanuel Vadot status = "okay"; 248c66ec88fSEmmanuel Vadot}; 249c66ec88fSEmmanuel Vadot 250c66ec88fSEmmanuel Vadot&uart0 { 251c66ec88fSEmmanuel Vadot status = "okay"; 252c66ec88fSEmmanuel Vadot}; 253c66ec88fSEmmanuel Vadot 254c66ec88fSEmmanuel Vadot&uart1 { 255c66ec88fSEmmanuel Vadot status = "okay"; 256c66ec88fSEmmanuel Vadot}; 257c66ec88fSEmmanuel Vadot 258c66ec88fSEmmanuel Vadot&usb0 { 259c66ec88fSEmmanuel Vadot status = "okay"; 260c66ec88fSEmmanuel Vadot}; 261c66ec88fSEmmanuel Vadot 262c66ec88fSEmmanuel Vadot&usb1 { 263c66ec88fSEmmanuel Vadot status = "okay"; 264c66ec88fSEmmanuel Vadot}; 265