1fa86cfe8SPankaj Bansal// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2fa86cfe8SPankaj Bansal// 3fa86cfe8SPankaj Bansal// Device Tree file for LX2160AQDS 4fa86cfe8SPankaj Bansal// 5fa86cfe8SPankaj Bansal// Copyright 2018 NXP 6fa86cfe8SPankaj Bansal 7fa86cfe8SPankaj Bansal/dts-v1/; 8fa86cfe8SPankaj Bansal 9fa86cfe8SPankaj Bansal#include "fsl-lx2160a.dtsi" 10fa86cfe8SPankaj Bansal 11fa86cfe8SPankaj Bansal/ { 12fa86cfe8SPankaj Bansal model = "NXP Layerscape LX2160AQDS"; 13fa86cfe8SPankaj Bansal compatible = "fsl,lx2160a-qds", "fsl,lx2160a"; 14fa86cfe8SPankaj Bansal 15fa86cfe8SPankaj Bansal aliases { 16fa86cfe8SPankaj Bansal crypto = &crypto; 179c2eb8b7SYangbo Lu mmc0 = &esdhc0; 189c2eb8b7SYangbo Lu mmc1 = &esdhc1; 19fa86cfe8SPankaj Bansal serial0 = &uart0; 20fa86cfe8SPankaj Bansal }; 21fa86cfe8SPankaj Bansal 22fa86cfe8SPankaj Bansal chosen { 23fa86cfe8SPankaj Bansal stdout-path = "serial0:115200n8"; 24fa86cfe8SPankaj Bansal }; 25fa86cfe8SPankaj Bansal 26fa86cfe8SPankaj Bansal sb_3v3: regulator-sb3v3 { 27fa86cfe8SPankaj Bansal compatible = "regulator-fixed"; 28fa86cfe8SPankaj Bansal regulator-name = "MC34717-3.3VSB"; 29fa86cfe8SPankaj Bansal regulator-min-microvolt = <3300000>; 30fa86cfe8SPankaj Bansal regulator-max-microvolt = <3300000>; 31fa86cfe8SPankaj Bansal regulator-boot-on; 32fa86cfe8SPankaj Bansal regulator-always-on; 33fa86cfe8SPankaj Bansal }; 34*eb70c4a3SPankaj Bansal 35*eb70c4a3SPankaj Bansal mdio-mux-1 { 36*eb70c4a3SPankaj Bansal compatible = "mdio-mux-multiplexer"; 37*eb70c4a3SPankaj Bansal mux-controls = <&mux 0>; 38*eb70c4a3SPankaj Bansal mdio-parent-bus = <&emdio1>; 39*eb70c4a3SPankaj Bansal #address-cells = <1>; 40*eb70c4a3SPankaj Bansal #size-cells = <0>; 41*eb70c4a3SPankaj Bansal 42*eb70c4a3SPankaj Bansal mdio@0 { /* On-board PHY #1 RGMI1*/ 43*eb70c4a3SPankaj Bansal reg = <0x00>; 44*eb70c4a3SPankaj Bansal #address-cells = <1>; 45*eb70c4a3SPankaj Bansal #size-cells = <0>; 46*eb70c4a3SPankaj Bansal }; 47*eb70c4a3SPankaj Bansal 48*eb70c4a3SPankaj Bansal mdio@8 { /* On-board PHY #2 RGMI2*/ 49*eb70c4a3SPankaj Bansal reg = <0x8>; 50*eb70c4a3SPankaj Bansal #address-cells = <1>; 51*eb70c4a3SPankaj Bansal #size-cells = <0>; 52*eb70c4a3SPankaj Bansal }; 53*eb70c4a3SPankaj Bansal 54*eb70c4a3SPankaj Bansal mdio@18 { /* Slot #1 */ 55*eb70c4a3SPankaj Bansal reg = <0x18>; 56*eb70c4a3SPankaj Bansal #address-cells = <1>; 57*eb70c4a3SPankaj Bansal #size-cells = <0>; 58*eb70c4a3SPankaj Bansal }; 59*eb70c4a3SPankaj Bansal 60*eb70c4a3SPankaj Bansal mdio@19 { /* Slot #2 */ 61*eb70c4a3SPankaj Bansal reg = <0x19>; 62*eb70c4a3SPankaj Bansal #address-cells = <1>; 63*eb70c4a3SPankaj Bansal #size-cells = <0>; 64*eb70c4a3SPankaj Bansal }; 65*eb70c4a3SPankaj Bansal 66*eb70c4a3SPankaj Bansal mdio@1a { /* Slot #3 */ 67*eb70c4a3SPankaj Bansal reg = <0x1a>; 68*eb70c4a3SPankaj Bansal #address-cells = <1>; 69*eb70c4a3SPankaj Bansal #size-cells = <0>; 70*eb70c4a3SPankaj Bansal }; 71*eb70c4a3SPankaj Bansal 72*eb70c4a3SPankaj Bansal mdio@1b { /* Slot #4 */ 73*eb70c4a3SPankaj Bansal reg = <0x1b>; 74*eb70c4a3SPankaj Bansal #address-cells = <1>; 75*eb70c4a3SPankaj Bansal #size-cells = <0>; 76*eb70c4a3SPankaj Bansal }; 77*eb70c4a3SPankaj Bansal 78*eb70c4a3SPankaj Bansal mdio@1c { /* Slot #5 */ 79*eb70c4a3SPankaj Bansal reg = <0x1c>; 80*eb70c4a3SPankaj Bansal #address-cells = <1>; 81*eb70c4a3SPankaj Bansal #size-cells = <0>; 82*eb70c4a3SPankaj Bansal }; 83*eb70c4a3SPankaj Bansal 84*eb70c4a3SPankaj Bansal mdio@1d { /* Slot #6 */ 85*eb70c4a3SPankaj Bansal reg = <0x1d>; 86*eb70c4a3SPankaj Bansal #address-cells = <1>; 87*eb70c4a3SPankaj Bansal #size-cells = <0>; 88*eb70c4a3SPankaj Bansal }; 89*eb70c4a3SPankaj Bansal 90*eb70c4a3SPankaj Bansal mdio@1e { /* Slot #7 */ 91*eb70c4a3SPankaj Bansal reg = <0x1e>; 92*eb70c4a3SPankaj Bansal #address-cells = <1>; 93*eb70c4a3SPankaj Bansal #size-cells = <0>; 94*eb70c4a3SPankaj Bansal }; 95*eb70c4a3SPankaj Bansal 96*eb70c4a3SPankaj Bansal mdio@1f { /* Slot #8 */ 97*eb70c4a3SPankaj Bansal reg = <0x1f>; 98*eb70c4a3SPankaj Bansal #address-cells = <1>; 99*eb70c4a3SPankaj Bansal #size-cells = <0>; 100*eb70c4a3SPankaj Bansal }; 101*eb70c4a3SPankaj Bansal }; 102*eb70c4a3SPankaj Bansal 103*eb70c4a3SPankaj Bansal mdio-mux-2 { 104*eb70c4a3SPankaj Bansal compatible = "mdio-mux-multiplexer"; 105*eb70c4a3SPankaj Bansal mux-controls = <&mux 1>; 106*eb70c4a3SPankaj Bansal mdio-parent-bus = <&emdio2>; 107*eb70c4a3SPankaj Bansal #address-cells = <1>; 108*eb70c4a3SPankaj Bansal #size-cells = <0>; 109*eb70c4a3SPankaj Bansal 110*eb70c4a3SPankaj Bansal mdio@0 { /* Slot #1 (secondary EMI) */ 111*eb70c4a3SPankaj Bansal reg = <0x00>; 112*eb70c4a3SPankaj Bansal #address-cells = <1>; 113*eb70c4a3SPankaj Bansal #size-cells = <0>; 114*eb70c4a3SPankaj Bansal }; 115*eb70c4a3SPankaj Bansal 116*eb70c4a3SPankaj Bansal mdio@1 { /* Slot #2 (secondary EMI) */ 117*eb70c4a3SPankaj Bansal reg = <0x01>; 118*eb70c4a3SPankaj Bansal #address-cells = <1>; 119*eb70c4a3SPankaj Bansal #size-cells = <0>; 120*eb70c4a3SPankaj Bansal }; 121*eb70c4a3SPankaj Bansal 122*eb70c4a3SPankaj Bansal mdio@2 { /* Slot #3 (secondary EMI) */ 123*eb70c4a3SPankaj Bansal reg = <0x02>; 124*eb70c4a3SPankaj Bansal #address-cells = <1>; 125*eb70c4a3SPankaj Bansal #size-cells = <0>; 126*eb70c4a3SPankaj Bansal }; 127*eb70c4a3SPankaj Bansal 128*eb70c4a3SPankaj Bansal mdio@3 { /* Slot #4 (secondary EMI) */ 129*eb70c4a3SPankaj Bansal reg = <0x03>; 130*eb70c4a3SPankaj Bansal #address-cells = <1>; 131*eb70c4a3SPankaj Bansal #size-cells = <0>; 132*eb70c4a3SPankaj Bansal }; 133*eb70c4a3SPankaj Bansal 134*eb70c4a3SPankaj Bansal mdio@4 { /* Slot #5 (secondary EMI) */ 135*eb70c4a3SPankaj Bansal reg = <0x04>; 136*eb70c4a3SPankaj Bansal #address-cells = <1>; 137*eb70c4a3SPankaj Bansal #size-cells = <0>; 138*eb70c4a3SPankaj Bansal }; 139*eb70c4a3SPankaj Bansal 140*eb70c4a3SPankaj Bansal mdio@5 { /* Slot #6 (secondary EMI) */ 141*eb70c4a3SPankaj Bansal reg = <0x05>; 142*eb70c4a3SPankaj Bansal #address-cells = <1>; 143*eb70c4a3SPankaj Bansal #size-cells = <0>; 144*eb70c4a3SPankaj Bansal }; 145*eb70c4a3SPankaj Bansal 146*eb70c4a3SPankaj Bansal mdio@6 { /* Slot #7 (secondary EMI) */ 147*eb70c4a3SPankaj Bansal reg = <0x06>; 148*eb70c4a3SPankaj Bansal #address-cells = <1>; 149*eb70c4a3SPankaj Bansal #size-cells = <0>; 150*eb70c4a3SPankaj Bansal }; 151*eb70c4a3SPankaj Bansal 152*eb70c4a3SPankaj Bansal mdio@7 { /* Slot #8 (secondary EMI) */ 153*eb70c4a3SPankaj Bansal reg = <0x07>; 154*eb70c4a3SPankaj Bansal #address-cells = <1>; 155*eb70c4a3SPankaj Bansal #size-cells = <0>; 156*eb70c4a3SPankaj Bansal }; 157*eb70c4a3SPankaj Bansal }; 158fa86cfe8SPankaj Bansal}; 159fa86cfe8SPankaj Bansal 160930a0968SKuldeep Singh&can0 { 161930a0968SKuldeep Singh status = "okay"; 162930a0968SKuldeep Singh}; 163930a0968SKuldeep Singh 164930a0968SKuldeep Singh&can1 { 165930a0968SKuldeep Singh status = "okay"; 166930a0968SKuldeep Singh}; 167930a0968SKuldeep Singh 168fa86cfe8SPankaj Bansal&crypto { 169fa86cfe8SPankaj Bansal status = "okay"; 170fa86cfe8SPankaj Bansal}; 171fa86cfe8SPankaj Bansal 172a6533df3SChuanhua Han&dspi0 { 173a6533df3SChuanhua Han status = "okay"; 174a6533df3SChuanhua Han 175a6533df3SChuanhua Han dflash0: flash@0 { 176a6533df3SChuanhua Han #address-cells = <1>; 177a6533df3SChuanhua Han #size-cells = <1>; 178a6533df3SChuanhua Han compatible = "jedec,spi-nor"; 179a6533df3SChuanhua Han reg = <0>; 180a6533df3SChuanhua Han spi-max-frequency = <1000000>; 181a6533df3SChuanhua Han }; 182a6533df3SChuanhua Han}; 183a6533df3SChuanhua Han 184a6533df3SChuanhua Han&dspi1 { 185a6533df3SChuanhua Han status = "okay"; 186a6533df3SChuanhua Han 187a6533df3SChuanhua Han dflash1: flash@0 { 188a6533df3SChuanhua Han #address-cells = <1>; 189a6533df3SChuanhua Han #size-cells = <1>; 190a6533df3SChuanhua Han compatible = "jedec,spi-nor"; 191a6533df3SChuanhua Han reg = <0>; 192a6533df3SChuanhua Han spi-max-frequency = <1000000>; 193a6533df3SChuanhua Han }; 194a6533df3SChuanhua Han}; 195a6533df3SChuanhua Han 196a6533df3SChuanhua Han&dspi2 { 197a6533df3SChuanhua Han status = "okay"; 198a6533df3SChuanhua Han 199a6533df3SChuanhua Han dflash2: flash@0 { 200a6533df3SChuanhua Han #address-cells = <1>; 201a6533df3SChuanhua Han #size-cells = <1>; 202a6533df3SChuanhua Han compatible = "jedec,spi-nor"; 203a6533df3SChuanhua Han reg = <0>; 204a6533df3SChuanhua Han spi-max-frequency = <1000000>; 205a6533df3SChuanhua Han }; 206a6533df3SChuanhua Han}; 207a6533df3SChuanhua Han 208*eb70c4a3SPankaj Bansal&emdio1 { 209*eb70c4a3SPankaj Bansal status = "okay"; 210*eb70c4a3SPankaj Bansal}; 211*eb70c4a3SPankaj Bansal 212*eb70c4a3SPankaj Bansal&emdio2 { 213*eb70c4a3SPankaj Bansal status = "okay"; 214*eb70c4a3SPankaj Bansal}; 215*eb70c4a3SPankaj Bansal 216fa86cfe8SPankaj Bansal&esdhc0 { 217fa86cfe8SPankaj Bansal status = "okay"; 218fa86cfe8SPankaj Bansal}; 219fa86cfe8SPankaj Bansal 220fa86cfe8SPankaj Bansal&esdhc1 { 221fa86cfe8SPankaj Bansal status = "okay"; 222fa86cfe8SPankaj Bansal}; 223fa86cfe8SPankaj Bansal 224035af82aSKuldeep Singh&fspi { 225035af82aSKuldeep Singh status = "okay"; 226035af82aSKuldeep Singh 227035af82aSKuldeep Singh mt35xu512aba0: flash@0 { 228035af82aSKuldeep Singh #address-cells = <1>; 229035af82aSKuldeep Singh #size-cells = <1>; 230035af82aSKuldeep Singh compatible = "jedec,spi-nor"; 231035af82aSKuldeep Singh m25p,fast-read; 232035af82aSKuldeep Singh spi-max-frequency = <50000000>; 233035af82aSKuldeep Singh reg = <0>; 234035af82aSKuldeep Singh spi-rx-bus-width = <8>; 235035af82aSKuldeep Singh spi-tx-bus-width = <8>; 236035af82aSKuldeep Singh }; 237035af82aSKuldeep Singh}; 238035af82aSKuldeep Singh 239fa86cfe8SPankaj Bansal&i2c0 { 240fa86cfe8SPankaj Bansal status = "okay"; 241fa86cfe8SPankaj Bansal 242*eb70c4a3SPankaj Bansal fpga@66 { 243*eb70c4a3SPankaj Bansal compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c", 244*eb70c4a3SPankaj Bansal "simple-mfd"; 245*eb70c4a3SPankaj Bansal reg = <0x66>; 246*eb70c4a3SPankaj Bansal 247*eb70c4a3SPankaj Bansal mux: mux-controller { 248*eb70c4a3SPankaj Bansal compatible = "reg-mux"; 249*eb70c4a3SPankaj Bansal #mux-control-cells = <1>; 250*eb70c4a3SPankaj Bansal mux-reg-masks = <0x54 0xf8>, /* 0: reg 0x54, bits 7:3 */ 251*eb70c4a3SPankaj Bansal <0x54 0x07>; /* 1: reg 0x54, bit 2:0 */ 252*eb70c4a3SPankaj Bansal }; 253*eb70c4a3SPankaj Bansal }; 254*eb70c4a3SPankaj Bansal 255fa86cfe8SPankaj Bansal i2c-mux@77 { 256fa86cfe8SPankaj Bansal compatible = "nxp,pca9547"; 257fa86cfe8SPankaj Bansal reg = <0x77>; 258fa86cfe8SPankaj Bansal #address-cells = <1>; 259fa86cfe8SPankaj Bansal #size-cells = <0>; 260fa86cfe8SPankaj Bansal 261fa86cfe8SPankaj Bansal i2c@2 { 262fa86cfe8SPankaj Bansal #address-cells = <1>; 263fa86cfe8SPankaj Bansal #size-cells = <0>; 264fa86cfe8SPankaj Bansal reg = <0x2>; 265fa86cfe8SPankaj Bansal 266fa86cfe8SPankaj Bansal power-monitor@40 { 267fa86cfe8SPankaj Bansal compatible = "ti,ina220"; 268fa86cfe8SPankaj Bansal reg = <0x40>; 269fa86cfe8SPankaj Bansal shunt-resistor = <500>; 270fa86cfe8SPankaj Bansal }; 271fa86cfe8SPankaj Bansal 272fa86cfe8SPankaj Bansal power-monitor@41 { 273fa86cfe8SPankaj Bansal compatible = "ti,ina220"; 274fa86cfe8SPankaj Bansal reg = <0x41>; 275fa86cfe8SPankaj Bansal shunt-resistor = <1000>; 276fa86cfe8SPankaj Bansal }; 277fa86cfe8SPankaj Bansal }; 278fa86cfe8SPankaj Bansal 279fa86cfe8SPankaj Bansal i2c@3 { 280fa86cfe8SPankaj Bansal #address-cells = <1>; 281fa86cfe8SPankaj Bansal #size-cells = <0>; 282fa86cfe8SPankaj Bansal reg = <0x3>; 283fa86cfe8SPankaj Bansal 284fa86cfe8SPankaj Bansal temperature-sensor@4c { 285fa86cfe8SPankaj Bansal compatible = "nxp,sa56004"; 286fa86cfe8SPankaj Bansal reg = <0x4c>; 287fa86cfe8SPankaj Bansal vcc-supply = <&sb_3v3>; 288fa86cfe8SPankaj Bansal }; 289fa86cfe8SPankaj Bansal 290fa86cfe8SPankaj Bansal temperature-sensor@4d { 291fa86cfe8SPankaj Bansal compatible = "nxp,sa56004"; 292fa86cfe8SPankaj Bansal reg = <0x4d>; 293fa86cfe8SPankaj Bansal vcc-supply = <&sb_3v3>; 294fa86cfe8SPankaj Bansal }; 295fa86cfe8SPankaj Bansal 296fa86cfe8SPankaj Bansal rtc@51 { 297fa86cfe8SPankaj Bansal compatible = "nxp,pcf2129"; 298fa86cfe8SPankaj Bansal reg = <0x51>; 299fa86cfe8SPankaj Bansal }; 300fa86cfe8SPankaj Bansal }; 301fa86cfe8SPankaj Bansal }; 302fa86cfe8SPankaj Bansal}; 303fa86cfe8SPankaj Bansal 304519bace3SPankaj Gupta&optee { 305519bace3SPankaj Gupta status = "okay"; 306519bace3SPankaj Gupta}; 307519bace3SPankaj Gupta 308071f7855SPeng Ma&sata0 { 309071f7855SPeng Ma status = "okay"; 310071f7855SPeng Ma}; 311071f7855SPeng Ma 312071f7855SPeng Ma&sata1 { 313071f7855SPeng Ma status = "okay"; 314071f7855SPeng Ma}; 315071f7855SPeng Ma 316071f7855SPeng Ma&sata2 { 317071f7855SPeng Ma status = "okay"; 318071f7855SPeng Ma}; 319071f7855SPeng Ma 320071f7855SPeng Ma&sata3 { 321071f7855SPeng Ma status = "okay"; 322071f7855SPeng Ma}; 323071f7855SPeng Ma 324fa86cfe8SPankaj Bansal&uart0 { 325fa86cfe8SPankaj Bansal status = "okay"; 326fa86cfe8SPankaj Bansal}; 327fa86cfe8SPankaj Bansal 328fa86cfe8SPankaj Bansal&uart1 { 329fa86cfe8SPankaj Bansal status = "okay"; 330fa86cfe8SPankaj Bansal}; 331fa86cfe8SPankaj Bansal 332fa86cfe8SPankaj Bansal&usb0 { 333fa86cfe8SPankaj Bansal status = "okay"; 334fa86cfe8SPankaj Bansal}; 335fa86cfe8SPankaj Bansal 336fa86cfe8SPankaj Bansal&usb1 { 337fa86cfe8SPankaj Bansal status = "okay"; 338fa86cfe8SPankaj Bansal}; 339