1*83d290c5STom Rini// SPDX-License-Identifier: GPL-2.0+ 2d83b47b7SYork Sun/* 3d83b47b7SYork Sun * Freescale ls1021a QDS board common device tree source 4d83b47b7SYork Sun * 5d83b47b7SYork Sun * Copyright 2013-2015 Freescale Semiconductor, Inc. 6d83b47b7SYork Sun */ 7d83b47b7SYork Sun 8d83b47b7SYork Sun#include "ls1021a.dtsi" 9d83b47b7SYork Sun 10d83b47b7SYork Sun/ { 11d83b47b7SYork Sun model = "LS1021A QDS Board"; 12d83b47b7SYork Sun 13d83b47b7SYork Sun aliases { 14d83b47b7SYork Sun enet0_rgmii_phy = &rgmii_phy1; 15d83b47b7SYork Sun enet1_rgmii_phy = &rgmii_phy2; 16d83b47b7SYork Sun enet2_rgmii_phy = &rgmii_phy3; 17d83b47b7SYork Sun enet0_sgmii_phy = &sgmii_phy1c; 18d83b47b7SYork Sun enet1_sgmii_phy = &sgmii_phy1d; 19d83b47b7SYork Sun spi0 = &qspi; 20d83b47b7SYork Sun spi1 = &dspi0; 21d83b47b7SYork Sun }; 22d83b47b7SYork Sun}; 23d83b47b7SYork Sun 24d83b47b7SYork Sun&dspi0 { 25d83b47b7SYork Sun bus-num = <0>; 26d83b47b7SYork Sun status = "okay"; 27d83b47b7SYork Sun 28d83b47b7SYork Sun dspiflash: at45db021d@0 { 29d83b47b7SYork Sun #address-cells = <1>; 30d83b47b7SYork Sun #size-cells = <1>; 31d83b47b7SYork Sun compatible = "atmel,dataflash"; 32d83b47b7SYork Sun spi-max-frequency = <16000000>; 33d83b47b7SYork Sun spi-cpol; 34d83b47b7SYork Sun spi-cpha; 35d83b47b7SYork Sun reg = <0>; 36d83b47b7SYork Sun }; 37d83b47b7SYork Sun}; 38d83b47b7SYork Sun 39d83b47b7SYork Sun&qspi { 40d83b47b7SYork Sun bus-num = <0>; 41d83b47b7SYork Sun status = "okay"; 42d83b47b7SYork Sun 43d83b47b7SYork Sun qflash0: s25fl128s@0 { 44d83b47b7SYork Sun #address-cells = <1>; 45d83b47b7SYork Sun #size-cells = <1>; 46d83b47b7SYork Sun compatible = "spi-flash"; 47d83b47b7SYork Sun spi-max-frequency = <20000000>; 48d83b47b7SYork Sun reg = <0>; 49d83b47b7SYork Sun }; 50d83b47b7SYork Sun}; 51d83b47b7SYork Sun 52d83b47b7SYork Sun&i2c0 { 53d83b47b7SYork Sun status = "okay"; 54d83b47b7SYork Sun 55d83b47b7SYork Sun pca9547: mux@77 { 56d83b47b7SYork Sun reg = <0x77>; 57d83b47b7SYork Sun #address-cells = <1>; 58d83b47b7SYork Sun #size-cells = <0>; 59d83b47b7SYork Sun 60d83b47b7SYork Sun i2c@0 { 61d83b47b7SYork Sun #address-cells = <1>; 62d83b47b7SYork Sun #size-cells = <0>; 63d83b47b7SYork Sun reg = <0x0>; 64d83b47b7SYork Sun 65d83b47b7SYork Sun ds3232: rtc@68 { 66d83b47b7SYork Sun compatible = "dallas,ds3232"; 67d83b47b7SYork Sun reg = <0x68>; 68d83b47b7SYork Sun interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; 69d83b47b7SYork Sun }; 70d83b47b7SYork Sun }; 71d83b47b7SYork Sun 72d83b47b7SYork Sun i2c@2 { 73d83b47b7SYork Sun #address-cells = <1>; 74d83b47b7SYork Sun #size-cells = <0>; 75d83b47b7SYork Sun reg = <0x2>; 76d83b47b7SYork Sun 77d83b47b7SYork Sun ina220@40 { 78d83b47b7SYork Sun compatible = "ti,ina220"; 79d83b47b7SYork Sun reg = <0x40>; 80d83b47b7SYork Sun shunt-resistor = <1000>; 81d83b47b7SYork Sun }; 82d83b47b7SYork Sun 83d83b47b7SYork Sun ina220@41 { 84d83b47b7SYork Sun compatible = "ti,ina220"; 85d83b47b7SYork Sun reg = <0x41>; 86d83b47b7SYork Sun shunt-resistor = <1000>; 87d83b47b7SYork Sun }; 88d83b47b7SYork Sun }; 89d83b47b7SYork Sun 90d83b47b7SYork Sun i2c@3 { 91d83b47b7SYork Sun #address-cells = <1>; 92d83b47b7SYork Sun #size-cells = <0>; 93d83b47b7SYork Sun reg = <0x3>; 94d83b47b7SYork Sun 95d83b47b7SYork Sun eeprom@56 { 96d83b47b7SYork Sun compatible = "atmel,24c512"; 97d83b47b7SYork Sun reg = <0x56>; 98d83b47b7SYork Sun }; 99d83b47b7SYork Sun 100d83b47b7SYork Sun eeprom@57 { 101d83b47b7SYork Sun compatible = "atmel,24c512"; 102d83b47b7SYork Sun reg = <0x57>; 103d83b47b7SYork Sun }; 104d83b47b7SYork Sun 105d83b47b7SYork Sun adt7461a@4c { 106d83b47b7SYork Sun compatible = "adi,adt7461a"; 107d83b47b7SYork Sun reg = <0x4c>; 108d83b47b7SYork Sun }; 109d83b47b7SYork Sun }; 110d83b47b7SYork Sun }; 111d83b47b7SYork Sun}; 112d83b47b7SYork Sun 113d83b47b7SYork Sun&ifc { 114d83b47b7SYork Sun #address-cells = <2>; 115d83b47b7SYork Sun #size-cells = <1>; 116d83b47b7SYork Sun /* NOR, NAND Flashes and FPGA on board */ 117d83b47b7SYork Sun ranges = <0x0 0x0 0x60000000 0x08000000 118d83b47b7SYork Sun 0x2 0x0 0x7e800000 0x00010000 119d83b47b7SYork Sun 0x3 0x0 0x7fb00000 0x00000100>; 120d83b47b7SYork Sun status = "okay"; 121d83b47b7SYork Sun 122d83b47b7SYork Sun nor@0,0 { 123d83b47b7SYork Sun #address-cells = <1>; 124d83b47b7SYork Sun #size-cells = <1>; 125d83b47b7SYork Sun compatible = "cfi-flash"; 126d83b47b7SYork Sun reg = <0x0 0x0 0x8000000>; 127d83b47b7SYork Sun bank-width = <2>; 128d83b47b7SYork Sun device-width = <1>; 129d83b47b7SYork Sun }; 130d83b47b7SYork Sun 131d83b47b7SYork Sun fpga: board-control@3,0 { 132d83b47b7SYork Sun #address-cells = <1>; 133d83b47b7SYork Sun #size-cells = <1>; 134d83b47b7SYork Sun compatible = "simple-bus"; 135d83b47b7SYork Sun reg = <0x3 0x0 0x0000100>; 136d83b47b7SYork Sun bank-width = <1>; 137d83b47b7SYork Sun device-width = <1>; 138d83b47b7SYork Sun ranges = <0 3 0 0x100>; 139d83b47b7SYork Sun 140d83b47b7SYork Sun mdio-mux-emi1 { 141d83b47b7SYork Sun compatible = "mdio-mux-mmioreg"; 142d83b47b7SYork Sun mdio-parent-bus = <&mdio0>; 143d83b47b7SYork Sun #address-cells = <1>; 144d83b47b7SYork Sun #size-cells = <0>; 145d83b47b7SYork Sun reg = <0x54 1>; /* BRDCFG4 */ 146d83b47b7SYork Sun mux-mask = <0xe0>; /* EMI1[2:0] */ 147d83b47b7SYork Sun 148d83b47b7SYork Sun /* Onboard PHYs */ 149d83b47b7SYork Sun ls1021amdio0: mdio@0 { 150d83b47b7SYork Sun reg = <0>; 151d83b47b7SYork Sun #address-cells = <1>; 152d83b47b7SYork Sun #size-cells = <0>; 153d83b47b7SYork Sun rgmii_phy1: ethernet-phy@1 { 154d83b47b7SYork Sun reg = <0x1>; 155d83b47b7SYork Sun }; 156d83b47b7SYork Sun }; 157d83b47b7SYork Sun 158d83b47b7SYork Sun ls1021amdio1: mdio@20 { 159d83b47b7SYork Sun reg = <0x20>; 160d83b47b7SYork Sun #address-cells = <1>; 161d83b47b7SYork Sun #size-cells = <0>; 162d83b47b7SYork Sun rgmii_phy2: ethernet-phy@2 { 163d83b47b7SYork Sun reg = <0x2>; 164d83b47b7SYork Sun }; 165d83b47b7SYork Sun }; 166d83b47b7SYork Sun 167d83b47b7SYork Sun ls1021amdio2: mdio@40 { 168d83b47b7SYork Sun reg = <0x40>; 169d83b47b7SYork Sun #address-cells = <1>; 170d83b47b7SYork Sun #size-cells = <0>; 171d83b47b7SYork Sun rgmii_phy3: ethernet-phy@3 { 172d83b47b7SYork Sun reg = <0x3>; 173d83b47b7SYork Sun }; 174d83b47b7SYork Sun }; 175d83b47b7SYork Sun 176d83b47b7SYork Sun ls1021amdio3: mdio@60 { 177d83b47b7SYork Sun reg = <0x60>; 178d83b47b7SYork Sun #address-cells = <1>; 179d83b47b7SYork Sun #size-cells = <0>; 180d83b47b7SYork Sun sgmii_phy1c: ethernet-phy@1c { 181d83b47b7SYork Sun reg = <0x1c>; 182d83b47b7SYork Sun }; 183d83b47b7SYork Sun }; 184d83b47b7SYork Sun 185d83b47b7SYork Sun ls1021amdio4: mdio@80 { 186d83b47b7SYork Sun reg = <0x80>; 187d83b47b7SYork Sun #address-cells = <1>; 188d83b47b7SYork Sun #size-cells = <0>; 189d83b47b7SYork Sun sgmii_phy1d: ethernet-phy@1d { 190d83b47b7SYork Sun reg = <0x1d>; 191d83b47b7SYork Sun }; 192d83b47b7SYork Sun }; 193d83b47b7SYork Sun }; 194d83b47b7SYork Sun }; 195d83b47b7SYork Sun}; 196d83b47b7SYork Sun 197d83b47b7SYork Sun&lpuart0 { 198d83b47b7SYork Sun status = "okay"; 199d83b47b7SYork Sun}; 200d83b47b7SYork Sun 201d83b47b7SYork Sun&mdio0 { 202d83b47b7SYork Sun tbi0: tbi-phy@8 { 203d83b47b7SYork Sun reg = <0x8>; 204d83b47b7SYork Sun device_type = "tbi-phy"; 205d83b47b7SYork Sun }; 206d83b47b7SYork Sun}; 207d83b47b7SYork Sun 208d83b47b7SYork Sun&uart0 { 209d83b47b7SYork Sun status = "okay"; 210d83b47b7SYork Sun}; 211d83b47b7SYork Sun 212d83b47b7SYork Sun&uart1 { 213d83b47b7SYork Sun status = "okay"; 214d83b47b7SYork Sun}; 215