Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 2 | /* |
Bin Meng | 4951af5 | 2016-01-13 19:39:05 -0800 | [diff] [blame] | 3 | * Freescale ls1021a TWR board common device tree source |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 4 | * |
| 5 | * Copyright 2013-2015 Freescale Semiconductor, Inc. |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 6 | */ |
| 7 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 8 | #include "ls1021a.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "LS1021A TWR Board"; |
| 12 | |
| 13 | aliases { |
Rajesh Bhagat | 4d2cc55 | 2019-01-05 08:06:14 +0000 | [diff] [blame] | 14 | enet2-rgmii-phy = &rgmii_phy1; |
| 15 | enet0-sgmii-phy = &sgmii_phy2; |
| 16 | enet1-sgmii-phy = &sgmii_phy0; |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 17 | spi0 = &qspi; |
Yuan Yao | f983516 | 2015-09-30 13:05:15 +0530 | [diff] [blame] | 18 | spi1 = &dspi1; |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 19 | }; |
Bin Meng | 06229a9 | 2016-01-13 19:38:59 -0800 | [diff] [blame] | 20 | |
| 21 | chosen { |
| 22 | stdout-path = &uart0; |
| 23 | }; |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &qspi { |
| 27 | bus-num = <0>; |
| 28 | status = "okay"; |
| 29 | |
| 30 | qflash0: n25q128a13@0 { |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <1>; |
| 33 | compatible = "spi-flash"; |
| 34 | spi-max-frequency = <20000000>; |
| 35 | reg = <0>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 36 | }; |
| 37 | }; |
| 38 | |
Yuan Yao | f983516 | 2015-09-30 13:05:15 +0530 | [diff] [blame] | 39 | &dspi1 { |
| 40 | bus-num = <0>; |
| 41 | status = "okay"; |
| 42 | |
| 43 | dspiflash: at26df081a@0 { |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
| 46 | compatible = "spi-flash"; |
| 47 | spi-max-frequency = <16000000>; |
| 48 | spi-cpol; |
| 49 | spi-cpha; |
| 50 | reg = <0>; |
| 51 | }; |
| 52 | }; |
| 53 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 54 | &i2c0 { |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | |
| 58 | &i2c1 { |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
| 62 | &ifc { |
| 63 | #address-cells = <2>; |
| 64 | #size-cells = <1>; |
| 65 | /* NOR Flash on board */ |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 66 | ranges = <0x0 0x0 0x60000000 0x08000000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 67 | status = "okay"; |
| 68 | |
| 69 | nor@0,0 { |
| 70 | #address-cells = <1>; |
| 71 | #size-cells = <1>; |
| 72 | compatible = "cfi-flash"; |
| 73 | reg = <0x0 0x0 0x8000000>; |
| 74 | bank-width = <2>; |
| 75 | device-width = <1>; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | &lpuart0 { |
| 80 | status = "okay"; |
| 81 | }; |
| 82 | |
| 83 | &mdio0 { |
| 84 | sgmii_phy0: ethernet-phy@0 { |
| 85 | reg = <0x0>; |
| 86 | }; |
| 87 | rgmii_phy1: ethernet-phy@1 { |
| 88 | reg = <0x1>; |
| 89 | }; |
| 90 | sgmii_phy2: ethernet-phy@2 { |
| 91 | reg = <0x2>; |
| 92 | }; |
| 93 | tbi1: tbi-phy@1f { |
| 94 | reg = <0x1f>; |
| 95 | device_type = "tbi-phy"; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | &uart0 { |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
| 103 | &uart1 { |
| 104 | status = "okay"; |
| 105 | }; |
Peng Ma | 739b397 | 2018-08-01 14:15:41 +0800 | [diff] [blame] | 106 | |
| 107 | &sata { |
| 108 | status = "okay"; |
| 109 | }; |