Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 2 | /* |
| 3 | * NXP ls2080a RDB board device tree source for QSPI-boot |
| 4 | * |
| 5 | * Author: Priyanka Jain <priyanka.jain@nxp.com> |
| 6 | * |
| 7 | * Copyright 2017 NXP |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "fsl-ls2080a.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "Freescale Layerscape 2080a RDB Board"; |
| 16 | compatible = "fsl,ls2080a-rdb", "fsl,ls2080a"; |
| 17 | |
| 18 | aliases { |
| 19 | spi0 = &qspi; |
| 20 | spi1 = &dspi; |
| 21 | }; |
| 22 | }; |
| 23 | |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 24 | &dpmac1 { |
| 25 | status = "okay"; |
| 26 | phy-handle = <&mdio1_phy1>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 27 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | &dpmac2 { |
| 31 | status = "okay"; |
| 32 | phy-handle = <&mdio1_phy2>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 33 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | &dpmac3 { |
| 37 | status = "okay"; |
| 38 | phy-handle = <&mdio1_phy3>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 39 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | &dpmac4 { |
| 43 | status = "okay"; |
| 44 | phy-handle = <&mdio1_phy4>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 45 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | &dpmac5 { |
| 49 | status = "okay"; |
| 50 | phy-handle = <&mdio2_phy1>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 51 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 52 | }; |
| 53 | |
| 54 | &dpmac6 { |
| 55 | status = "okay"; |
| 56 | phy-handle = <&mdio2_phy2>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 57 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | &dpmac7 { |
| 61 | status = "okay"; |
| 62 | phy-handle = <&mdio2_phy3>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 63 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 64 | }; |
| 65 | |
| 66 | &dpmac8 { |
| 67 | status = "okay"; |
| 68 | phy-handle = <&mdio2_phy4>; |
Vladimir Oltean | 6a6e402 | 2021-09-18 15:32:34 +0300 | [diff] [blame] | 69 | phy-connection-type = "10gbase-r"; |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 70 | }; |
| 71 | |
| 72 | &emdio1 { |
| 73 | status = "okay"; |
| 74 | |
| 75 | /* CS4340 PHYs */ |
| 76 | mdio1_phy1: emdio1_phy@1 { |
| 77 | reg = <0x10>; |
| 78 | }; |
| 79 | mdio1_phy2: emdio1_phy@2 { |
| 80 | reg = <0x11>; |
| 81 | }; |
| 82 | mdio1_phy3: emdio1_phy@3 { |
| 83 | reg = <0x12>; |
| 84 | }; |
| 85 | mdio1_phy4: emdio1_phy@4 { |
| 86 | reg = <0x13>; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | &emdio2 { |
| 91 | status = "okay"; |
| 92 | |
| 93 | /* AQR405 PHYs */ |
| 94 | mdio2_phy1: emdio2_phy@1 { |
| 95 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 96 | reg = <0x0>; |
| 97 | }; |
| 98 | mdio2_phy2: emdio2_phy@2 { |
| 99 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 100 | reg = <0x1>; |
| 101 | }; |
| 102 | mdio2_phy3: emdio2_phy@3 { |
| 103 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 104 | reg = <0x2>; |
| 105 | }; |
| 106 | mdio2_phy4: emdio2_phy@4 { |
| 107 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 108 | reg = <0x3>; |
| 109 | }; |
| 110 | }; |
| 111 | |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 112 | &dspi { |
| 113 | bus-num = <0>; |
| 114 | status = "okay"; |
| 115 | |
| 116 | dflash0: n25q512a { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 119 | compatible = "jedec,spi-nor"; |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 120 | spi-max-frequency = <3000000>; |
| 121 | spi-cpol; |
| 122 | spi-cpha; |
| 123 | reg = <0>; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | &qspi { |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 128 | status = "okay"; |
| 129 | |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 130 | s25fs512s0: flash@0 { |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 133 | compatible = "jedec,spi-nor"; |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 134 | spi-max-frequency = <50000000>; |
| 135 | reg = <0>; |
| 136 | }; |
| 137 | |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 138 | s25fs512s1: flash@1 { |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 139 | #address-cells = <1>; |
| 140 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 141 | compatible = "jedec,spi-nor"; |
Priyanka Jain | 7d05b99 | 2017-04-28 10:41:35 +0530 | [diff] [blame] | 142 | spi-max-frequency = <50000000>; |
| 143 | reg = <1>; |
| 144 | }; |
| 145 | }; |
Rajesh Bhagat | d5691be | 2018-12-27 04:37:59 +0000 | [diff] [blame] | 146 | |
Chuanhua Han | 6a099cc | 2019-07-22 16:36:46 +0800 | [diff] [blame] | 147 | &i2c0 { |
| 148 | status = "okay"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 149 | bootph-all; |
Chuanhua Han | 6a099cc | 2019-07-22 16:36:46 +0800 | [diff] [blame] | 150 | |
| 151 | pca9547@75 { |
| 152 | compatible = "nxp,pca9547"; |
| 153 | reg = <0x75>; |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | |
| 157 | i2c@1 { |
| 158 | #address-cells = <1>; |
| 159 | #size-cells = <0>; |
| 160 | reg = <0x01>; |
| 161 | rtc@68 { |
| 162 | compatible = "dallas,ds3232"; |
| 163 | reg = <0x68>; |
| 164 | }; |
| 165 | }; |
| 166 | }; |
| 167 | }; |
| 168 | |
Rajesh Bhagat | d5691be | 2018-12-27 04:37:59 +0000 | [diff] [blame] | 169 | &sata { |
| 170 | status = "okay"; |
| 171 | }; |