1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) << 2 /* 1 /* 3 * Device Tree file for NXP LS1088A RDB Board. 2 * Device Tree file for NXP LS1088A RDB Board. 4 * 3 * 5 * Copyright 2017-2020 NXP !! 4 * Copyright 2017 NXP 6 * 5 * 7 * Harninder Rai <harninder.rai@nxp.com> 6 * Harninder Rai <harninder.rai@nxp.com> 8 * 7 * >> 8 * This file is dual-licensed: you can use it either under the terms >> 9 * of the GPLv2 or the X11 license, at your option. Note that this dual >> 10 * licensing only applies to this file, and not this project as a >> 11 * whole. >> 12 * >> 13 * a) This library is free software; you can redistribute it and/or >> 14 * modify it under the terms of the GNU General Public License as >> 15 * published by the Free Software Foundation; either version 2 of the >> 16 * License, or (at your option) any later version. >> 17 * >> 18 * This library is distributed in the hope that it will be useful, >> 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 21 * GNU General Public License for more details. >> 22 * >> 23 * Or, alternatively, >> 24 * >> 25 * b) Permission is hereby granted, free of charge, to any person >> 26 * obtaining a copy of this software and associated documentation >> 27 * files (the "Software"), to deal in the Software without >> 28 * restriction, including without limitation the rights to use, >> 29 * copy, modify, merge, publish, distribute, sublicense, and/or >> 30 * sell copies of the Software, and to permit persons to whom the >> 31 * Software is furnished to do so, subject to the following >> 32 * conditions: >> 33 * >> 34 * The above copyright notice and this permission notice shall be >> 35 * included in all copies or substantial portions of the Software. >> 36 * >> 37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> 38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES >> 39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND >> 40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT >> 41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, >> 42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING >> 43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR >> 44 * OTHER DEALINGS IN THE SOFTWARE. 9 */ 45 */ 10 46 11 /dts-v1/; 47 /dts-v1/; 12 48 13 #include "fsl-ls1088a.dtsi" 49 #include "fsl-ls1088a.dtsi" 14 50 15 / { 51 / { 16 model = "LS1088A RDB Board"; 52 model = "LS1088A RDB Board"; 17 compatible = "fsl,ls1088a-rdb", "fsl,l 53 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a"; 18 }; 54 }; 19 55 20 &dpmac2 { << 21 phy-handle = <&mdio2_aquantia_phy>; << 22 phy-connection-type = "10gbase-r"; << 23 pcs-handle = <&pcs2>; << 24 }; << 25 << 26 &dpmac3 { << 27 phy-handle = <&mdio1_phy5>; << 28 phy-connection-type = "qsgmii"; << 29 managed = "in-band-status"; << 30 pcs-handle = <&pcs3_0>; << 31 }; << 32 << 33 &dpmac4 { << 34 phy-handle = <&mdio1_phy6>; << 35 phy-connection-type = "qsgmii"; << 36 managed = "in-band-status"; << 37 pcs-handle = <&pcs3_1>; << 38 }; << 39 << 40 &dpmac5 { << 41 phy-handle = <&mdio1_phy7>; << 42 phy-connection-type = "qsgmii"; << 43 managed = "in-band-status"; << 44 pcs-handle = <&pcs3_2>; << 45 }; << 46 << 47 &dpmac6 { << 48 phy-handle = <&mdio1_phy8>; << 49 phy-connection-type = "qsgmii"; << 50 managed = "in-band-status"; << 51 pcs-handle = <&pcs3_3>; << 52 }; << 53 << 54 &dpmac7 { << 55 phy-handle = <&mdio1_phy1>; << 56 phy-connection-type = "qsgmii"; << 57 managed = "in-band-status"; << 58 pcs-handle = <&pcs7_0>; << 59 }; << 60 << 61 &dpmac8 { << 62 phy-handle = <&mdio1_phy2>; << 63 phy-connection-type = "qsgmii"; << 64 managed = "in-band-status"; << 65 pcs-handle = <&pcs7_1>; << 66 }; << 67 << 68 &dpmac9 { << 69 phy-handle = <&mdio1_phy3>; << 70 phy-connection-type = "qsgmii"; << 71 managed = "in-band-status"; << 72 pcs-handle = <&pcs7_2>; << 73 }; << 74 << 75 &dpmac10 { << 76 phy-handle = <&mdio1_phy4>; << 77 phy-connection-type = "qsgmii"; << 78 managed = "in-band-status"; << 79 pcs-handle = <&pcs7_3>; << 80 }; << 81 << 82 &emdio1 { << 83 status = "okay"; << 84 << 85 mdio1_phy5: ethernet-phy@c { << 86 interrupts-extended = <&extirq << 87 reg = <0xc>; << 88 }; << 89 << 90 mdio1_phy6: ethernet-phy@d { << 91 interrupts-extended = <&extirq << 92 reg = <0xd>; << 93 }; << 94 << 95 mdio1_phy7: ethernet-phy@e { << 96 interrupts-extended = <&extirq << 97 reg = <0xe>; << 98 }; << 99 << 100 mdio1_phy8: ethernet-phy@f { << 101 interrupts-extended = <&extirq << 102 reg = <0xf>; << 103 }; << 104 << 105 mdio1_phy1: ethernet-phy@1c { << 106 interrupts-extended = <&extirq << 107 reg = <0x1c>; << 108 }; << 109 << 110 mdio1_phy2: ethernet-phy@1d { << 111 interrupts-extended = <&extirq << 112 reg = <0x1d>; << 113 }; << 114 << 115 mdio1_phy3: ethernet-phy@1e { << 116 interrupts-extended = <&extirq << 117 reg = <0x1e>; << 118 }; << 119 << 120 mdio1_phy4: ethernet-phy@1f { << 121 interrupts-extended = <&extirq << 122 reg = <0x1f>; << 123 }; << 124 }; << 125 << 126 &emdio2 { << 127 status = "okay"; << 128 << 129 mdio2_aquantia_phy: ethernet-phy@0 { << 130 compatible = "ethernet-phy-iee << 131 interrupts-extended = <&extirq << 132 reg = <0x0>; << 133 }; << 134 }; << 135 << 136 &i2c0 { 56 &i2c0 { 137 status = "okay"; 57 status = "okay"; 138 58 139 i2c-mux@77 { !! 59 i2c-switch@77 { 140 compatible = "nxp,pca9547"; 60 compatible = "nxp,pca9547"; 141 reg = <0x77>; 61 reg = <0x77>; 142 #address-cells = <1>; 62 #address-cells = <1>; 143 #size-cells = <0>; 63 #size-cells = <0>; 144 64 145 i2c@2 { 65 i2c@2 { 146 #address-cells = <1>; 66 #address-cells = <1>; 147 #size-cells = <0>; 67 #size-cells = <0>; 148 reg = <0x2>; 68 reg = <0x2>; 149 69 150 ina220@40 { 70 ina220@40 { 151 compatible = " 71 compatible = "ti,ina220"; 152 reg = <0x40>; 72 reg = <0x40>; 153 shunt-resistor 73 shunt-resistor = <1000>; 154 }; 74 }; 155 }; 75 }; 156 76 157 i2c@3 { 77 i2c@3 { 158 #address-cells = <1>; 78 #address-cells = <1>; 159 #size-cells = <0>; 79 #size-cells = <0>; 160 reg = <0x3>; 80 reg = <0x3>; 161 81 162 temp-sensor@4c { 82 temp-sensor@4c { 163 compatible = " 83 compatible = "adi,adt7461a"; 164 reg = <0x4c>; 84 reg = <0x4c>; 165 }; 85 }; 166 86 167 rtc@51 { 87 rtc@51 { 168 compatible = " 88 compatible = "nxp,pcf2129"; 169 reg = <0x51>; 89 reg = <0x51>; 170 /* IRQ_RTC_B - !! 90 /* IRQ10_B */ 171 interrupts-ext !! 91 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; 172 }; << 173 << 174 rtc@53 { << 175 compatible = " << 176 reg = <0x53>; << 177 /* IRQ_RTC_B - << 178 interrupts-ext << 179 }; 92 }; 180 }; 93 }; 181 }; 94 }; 182 }; 95 }; 183 96 184 &ifc { 97 &ifc { 185 ranges = <0 0 0x5 0x30000000 0x0001000 98 ranges = <0 0 0x5 0x30000000 0x00010000 186 2 0 0x5 0x20000000 0x0001000 99 2 0 0x5 0x20000000 0x00010000>; 187 status = "okay"; 100 status = "okay"; 188 101 189 nand@0,0 { 102 nand@0,0 { 190 compatible = "fsl,ifc-nand"; 103 compatible = "fsl,ifc-nand"; 191 reg = <0x0 0x0 0x10000>; 104 reg = <0x0 0x0 0x10000>; 192 }; 105 }; 193 106 194 fpga: board-control@2,0 { 107 fpga: board-control@2,0 { 195 compatible = "fsl,ls1088ardb-f 108 compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis"; 196 reg = <0x2 0x0 0x0000100>; 109 reg = <0x2 0x0 0x0000100>; 197 }; 110 }; 198 }; 111 }; 199 112 200 &duart0 { 113 &duart0 { 201 status = "okay"; 114 status = "okay"; 202 }; 115 }; 203 116 204 &duart1 { 117 &duart1 { 205 status = "okay"; 118 status = "okay"; 206 }; 119 }; 207 120 208 &esdhc { 121 &esdhc { 209 mmc-hs200-1_8v; << 210 status = "okay"; << 211 }; << 212 << 213 &pcs_mdio2 { << 214 status = "okay"; << 215 }; << 216 << 217 &pcs_mdio3 { << 218 status = "okay"; 122 status = "okay"; 219 }; 123 }; 220 124 221 &pcs_mdio7 { << 222 status = "okay"; << 223 }; << 224 << 225 &qspi { << 226 status = "okay"; << 227 << 228 s25fs512s0: flash@0 { << 229 compatible = "jedec,spi-nor"; << 230 #address-cells = <1>; << 231 #size-cells = <1>; << 232 spi-max-frequency = <50000000> << 233 spi-rx-bus-width = <4>; << 234 spi-tx-bus-width = <1>; << 235 reg = <0>; << 236 }; << 237 << 238 s25fs512s1: flash@1 { << 239 compatible = "jedec,spi-nor"; << 240 #address-cells = <1>; << 241 #size-cells = <1>; << 242 spi-max-frequency = <50000000> << 243 spi-rx-bus-width = <4>; << 244 spi-tx-bus-width = <1>; << 245 reg = <1>; << 246 }; << 247 }; << 248 << 249 &sata { 125 &sata { 250 status = "okay"; << 251 }; << 252 << 253 &usb0 { << 254 status = "okay"; << 255 }; << 256 << 257 &usb1 { << 258 dr_mode = "otg"; << 259 status = "okay"; 126 status = "okay"; 260 }; 127 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.