1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Device Tree file for Freescale LS2080A QDS Board. 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright 2016 Freescale Semiconductor, Inc. 6c66ec88fSEmmanuel Vadot * Copyright 2017 NXP 7c66ec88fSEmmanuel Vadot * 8c66ec88fSEmmanuel Vadot * Abhimanyu Saini <abhimanyu.saini@nxp.com> 9c66ec88fSEmmanuel Vadot * 10c66ec88fSEmmanuel Vadot */ 11c66ec88fSEmmanuel Vadot 127ef62cebSEmmanuel Vadot/* Update DPMAC connections to external PHYs, under SerDes 0x2a_0x49. */ 137ef62cebSEmmanuel Vadot&dpmac9 { 147ef62cebSEmmanuel Vadot phy-handle = <&mdio0_phy12>; 157ef62cebSEmmanuel Vadot phy-connection-type = "sgmii"; 167ef62cebSEmmanuel Vadot}; 177ef62cebSEmmanuel Vadot 187ef62cebSEmmanuel Vadot&dpmac10 { 197ef62cebSEmmanuel Vadot phy-handle = <&mdio0_phy13>; 207ef62cebSEmmanuel Vadot phy-connection-type = "sgmii"; 217ef62cebSEmmanuel Vadot}; 227ef62cebSEmmanuel Vadot 237ef62cebSEmmanuel Vadot&dpmac11 { 247ef62cebSEmmanuel Vadot phy-handle = <&mdio0_phy14>; 257ef62cebSEmmanuel Vadot phy-connection-type = "sgmii"; 267ef62cebSEmmanuel Vadot}; 277ef62cebSEmmanuel Vadot 287ef62cebSEmmanuel Vadot&dpmac12 { 297ef62cebSEmmanuel Vadot phy-handle = <&mdio0_phy15>; 307ef62cebSEmmanuel Vadot phy-connection-type = "sgmii"; 317ef62cebSEmmanuel Vadot}; 327ef62cebSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot&esdhc { 34c66ec88fSEmmanuel Vadot mmc-hs200-1_8v; 35c66ec88fSEmmanuel Vadot status = "okay"; 36c66ec88fSEmmanuel Vadot}; 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot&ifc { 39c66ec88fSEmmanuel Vadot status = "okay"; 40c66ec88fSEmmanuel Vadot #address-cells = <2>; 41c66ec88fSEmmanuel Vadot #size-cells = <1>; 42c66ec88fSEmmanuel Vadot ranges = <0x0 0x0 0x5 0x80000000 0x08000000 43c66ec88fSEmmanuel Vadot 0x2 0x0 0x5 0x30000000 0x00010000 44c66ec88fSEmmanuel Vadot 0x3 0x0 0x5 0x20000000 0x00010000>; 45c66ec88fSEmmanuel Vadot 460e8011faSEmmanuel Vadot flash@0,0 { 47c66ec88fSEmmanuel Vadot #address-cells = <1>; 48c66ec88fSEmmanuel Vadot #size-cells = <1>; 49c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 50c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x8000000>; 51c66ec88fSEmmanuel Vadot bank-width = <2>; 52c66ec88fSEmmanuel Vadot device-width = <1>; 53c66ec88fSEmmanuel Vadot }; 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadot nand@2,0 { 56c66ec88fSEmmanuel Vadot compatible = "fsl,ifc-nand"; 57c66ec88fSEmmanuel Vadot reg = <0x2 0x0 0x10000>; 58c66ec88fSEmmanuel Vadot }; 59c66ec88fSEmmanuel Vadot 607ef62cebSEmmanuel Vadot boardctrl: board-control@3,0 { 617ef62cebSEmmanuel Vadot #address-cells = <1>; 627ef62cebSEmmanuel Vadot #size-cells = <1>; 637ef62cebSEmmanuel Vadot compatible = "fsl,ls208xaqds-fpga", "fsl,fpga-qixis", "simple-mfd"; 647ef62cebSEmmanuel Vadot reg = <3 0 0x1000>; 657ef62cebSEmmanuel Vadot ranges = <0 3 0 0x1000>; 667ef62cebSEmmanuel Vadot 67*b2d2a78aSEmmanuel Vadot mdio-mux@54 { 687ef62cebSEmmanuel Vadot compatible = "mdio-mux-mmioreg", "mdio-mux"; 697ef62cebSEmmanuel Vadot mdio-parent-bus = <&emdio1>; 707ef62cebSEmmanuel Vadot reg = <0x54 1>; /* BRDCFG4 */ 717ef62cebSEmmanuel Vadot mux-mask = <0xe0>; /* EMI1_MDIO */ 727ef62cebSEmmanuel Vadot #address-cells = <1>; 737ef62cebSEmmanuel Vadot #size-cells = <0>; 747ef62cebSEmmanuel Vadot 757ef62cebSEmmanuel Vadot /* Child MDIO buses, one for each riser card: 767ef62cebSEmmanuel Vadot * reg = 0x0, 0x20, 0x40, 0x60, 0x80, 0xa0. 777ef62cebSEmmanuel Vadot * VSC8234 PHYs on the riser cards. 787ef62cebSEmmanuel Vadot */ 797ef62cebSEmmanuel Vadot mdio_mux3: mdio@60 { 807ef62cebSEmmanuel Vadot reg = <0x60>; 817ef62cebSEmmanuel Vadot #address-cells = <1>; 827ef62cebSEmmanuel Vadot #size-cells = <0>; 837ef62cebSEmmanuel Vadot 847ef62cebSEmmanuel Vadot mdio0_phy12: mdio-phy0@1c { 857ef62cebSEmmanuel Vadot reg = <0x1c>; 867ef62cebSEmmanuel Vadot }; 877ef62cebSEmmanuel Vadot 887ef62cebSEmmanuel Vadot mdio0_phy13: mdio-phy1@1d { 897ef62cebSEmmanuel Vadot reg = <0x1d>; 907ef62cebSEmmanuel Vadot }; 917ef62cebSEmmanuel Vadot 927ef62cebSEmmanuel Vadot mdio0_phy14: mdio-phy2@1e { 937ef62cebSEmmanuel Vadot reg = <0x1e>; 947ef62cebSEmmanuel Vadot }; 957ef62cebSEmmanuel Vadot 967ef62cebSEmmanuel Vadot mdio0_phy15: mdio-phy3@1f { 977ef62cebSEmmanuel Vadot reg = <0x1f>; 987ef62cebSEmmanuel Vadot }; 997ef62cebSEmmanuel Vadot }; 1007ef62cebSEmmanuel Vadot }; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot}; 103c66ec88fSEmmanuel Vadot 104c66ec88fSEmmanuel Vadot&i2c0 { 105c66ec88fSEmmanuel Vadot status = "okay"; 1068bab661aSEmmanuel Vadot i2c-mux@77 { 107c66ec88fSEmmanuel Vadot compatible = "nxp,pca9547"; 108c66ec88fSEmmanuel Vadot reg = <0x77>; 109c66ec88fSEmmanuel Vadot #address-cells = <1>; 110c66ec88fSEmmanuel Vadot #size-cells = <0>; 111c66ec88fSEmmanuel Vadot i2c@0 { 112c66ec88fSEmmanuel Vadot #address-cells = <1>; 113c66ec88fSEmmanuel Vadot #size-cells = <0>; 114c66ec88fSEmmanuel Vadot reg = <0x00>; 115c66ec88fSEmmanuel Vadot rtc@68 { 116c66ec88fSEmmanuel Vadot compatible = "dallas,ds3232"; 117c66ec88fSEmmanuel Vadot reg = <0x68>; 118c66ec88fSEmmanuel Vadot }; 119c66ec88fSEmmanuel Vadot }; 120c66ec88fSEmmanuel Vadot 121c66ec88fSEmmanuel Vadot i2c@2 { 122c66ec88fSEmmanuel Vadot #address-cells = <1>; 123c66ec88fSEmmanuel Vadot #size-cells = <0>; 124c66ec88fSEmmanuel Vadot reg = <0x02>; 125c66ec88fSEmmanuel Vadot 126c66ec88fSEmmanuel Vadot ina220@40 { 127c66ec88fSEmmanuel Vadot compatible = "ti,ina220"; 128c66ec88fSEmmanuel Vadot reg = <0x40>; 129c66ec88fSEmmanuel Vadot shunt-resistor = <500>; 130c66ec88fSEmmanuel Vadot }; 131c66ec88fSEmmanuel Vadot 132c66ec88fSEmmanuel Vadot ina220@41 { 133c66ec88fSEmmanuel Vadot compatible = "ti,ina220"; 134c66ec88fSEmmanuel Vadot reg = <0x41>; 135c66ec88fSEmmanuel Vadot shunt-resistor = <1000>; 136c66ec88fSEmmanuel Vadot }; 137c66ec88fSEmmanuel Vadot }; 138c66ec88fSEmmanuel Vadot 139c66ec88fSEmmanuel Vadot i2c@3 { 140c66ec88fSEmmanuel Vadot #address-cells = <1>; 141c66ec88fSEmmanuel Vadot #size-cells = <0>; 142c66ec88fSEmmanuel Vadot reg = <0x3>; 143c66ec88fSEmmanuel Vadot 144c66ec88fSEmmanuel Vadot adt7481@4c { 145c66ec88fSEmmanuel Vadot compatible = "adi,adt7461"; 146c66ec88fSEmmanuel Vadot reg = <0x4c>; 147c66ec88fSEmmanuel Vadot }; 148c66ec88fSEmmanuel Vadot }; 149c66ec88fSEmmanuel Vadot }; 150c66ec88fSEmmanuel Vadot}; 151c66ec88fSEmmanuel Vadot 152c66ec88fSEmmanuel Vadot&i2c1 { 153c66ec88fSEmmanuel Vadot status = "disabled"; 154c66ec88fSEmmanuel Vadot}; 155c66ec88fSEmmanuel Vadot 156c66ec88fSEmmanuel Vadot&i2c2 { 157c66ec88fSEmmanuel Vadot status = "disabled"; 158c66ec88fSEmmanuel Vadot}; 159c66ec88fSEmmanuel Vadot 160c66ec88fSEmmanuel Vadot&i2c3 { 161c66ec88fSEmmanuel Vadot status = "disabled"; 162c66ec88fSEmmanuel Vadot}; 163c66ec88fSEmmanuel Vadot 164c66ec88fSEmmanuel Vadot&dspi { 165c66ec88fSEmmanuel Vadot status = "okay"; 166d5b0e70fSEmmanuel Vadot dflash0: flash@0 { 167c66ec88fSEmmanuel Vadot #address-cells = <1>; 168c66ec88fSEmmanuel Vadot #size-cells = <1>; 169c66ec88fSEmmanuel Vadot compatible = "st,m25p80"; 170c66ec88fSEmmanuel Vadot spi-max-frequency = <3000000>; 171c66ec88fSEmmanuel Vadot reg = <0>; 172c66ec88fSEmmanuel Vadot }; 173d5b0e70fSEmmanuel Vadot dflash1: flash@1 { 174c66ec88fSEmmanuel Vadot #address-cells = <1>; 175c66ec88fSEmmanuel Vadot #size-cells = <1>; 176c66ec88fSEmmanuel Vadot compatible = "st,m25p80"; 177c66ec88fSEmmanuel Vadot spi-max-frequency = <3000000>; 178c66ec88fSEmmanuel Vadot reg = <1>; 179c66ec88fSEmmanuel Vadot }; 180d5b0e70fSEmmanuel Vadot dflash2: flash@2 { 181c66ec88fSEmmanuel Vadot #address-cells = <1>; 182c66ec88fSEmmanuel Vadot #size-cells = <1>; 183c66ec88fSEmmanuel Vadot compatible = "st,m25p80"; 184c66ec88fSEmmanuel Vadot spi-max-frequency = <3000000>; 185c66ec88fSEmmanuel Vadot reg = <2>; 186c66ec88fSEmmanuel Vadot }; 187c66ec88fSEmmanuel Vadot}; 188c66ec88fSEmmanuel Vadot 189c66ec88fSEmmanuel Vadot&qspi { 190c66ec88fSEmmanuel Vadot status = "okay"; 191d5b0e70fSEmmanuel Vadot flash0: flash@0 { 192c66ec88fSEmmanuel Vadot #address-cells = <1>; 193c66ec88fSEmmanuel Vadot #size-cells = <1>; 194c66ec88fSEmmanuel Vadot compatible = "st,m25p80"; 195c66ec88fSEmmanuel Vadot spi-max-frequency = <20000000>; 196c66ec88fSEmmanuel Vadot spi-rx-bus-width = <4>; 197c66ec88fSEmmanuel Vadot spi-tx-bus-width = <4>; 198c66ec88fSEmmanuel Vadot reg = <0>; 199c66ec88fSEmmanuel Vadot }; 200d5b0e70fSEmmanuel Vadot flash2: flash@2 { 201c66ec88fSEmmanuel Vadot #address-cells = <1>; 202c66ec88fSEmmanuel Vadot #size-cells = <1>; 203c66ec88fSEmmanuel Vadot compatible = "st,m25p80"; 204c66ec88fSEmmanuel Vadot spi-max-frequency = <20000000>; 205c66ec88fSEmmanuel Vadot spi-rx-bus-width = <4>; 206c66ec88fSEmmanuel Vadot spi-tx-bus-width = <4>; 207c66ec88fSEmmanuel Vadot reg = <2>; 208c66ec88fSEmmanuel Vadot }; 209c66ec88fSEmmanuel Vadot}; 210c66ec88fSEmmanuel Vadot 211c66ec88fSEmmanuel Vadot&sata0 { 212c66ec88fSEmmanuel Vadot status = "okay"; 213c66ec88fSEmmanuel Vadot}; 214c66ec88fSEmmanuel Vadot 215c66ec88fSEmmanuel Vadot&sata1 { 216c66ec88fSEmmanuel Vadot status = "okay"; 217c66ec88fSEmmanuel Vadot}; 218c66ec88fSEmmanuel Vadot 219c66ec88fSEmmanuel Vadot&usb0 { 220c66ec88fSEmmanuel Vadot status = "okay"; 221c66ec88fSEmmanuel Vadot}; 222c66ec88fSEmmanuel Vadot 223c66ec88fSEmmanuel Vadot&usb1 { 224c66ec88fSEmmanuel Vadot status = "okay"; 225c66ec88fSEmmanuel Vadot}; 226