1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright 2021 NXP 3 * Copyright 2021 NXP 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "imx8ulp.dtsi" 8 #include "imx8ulp.dtsi" 9 9 10 / { 10 / { 11 model = "NXP i.MX8ULP EVK"; 11 model = "NXP i.MX8ULP EVK"; 12 compatible = "fsl,imx8ulp-evk", "fsl,i 12 compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp"; 13 13 14 chosen { 14 chosen { 15 stdout-path = &lpuart5; 15 stdout-path = &lpuart5; 16 }; 16 }; 17 17 18 memory@80000000 { 18 memory@80000000 { 19 device_type = "memory"; 19 device_type = "memory"; 20 reg = <0x0 0x80000000 0 0x8000 20 reg = <0x0 0x80000000 0 0x80000000>; 21 }; 21 }; 22 22 23 reserved-memory { << 24 #address-cells = <2>; << 25 #size-cells = <2>; << 26 ranges; << 27 << 28 linux,cma { << 29 compatible = "shared-d << 30 reusable; << 31 size = <0 0x28000000>; << 32 linux,cma-default; << 33 }; << 34 << 35 m33_reserved: noncacheable-sec << 36 reg = <0 0xa8600000 0 << 37 no-map; << 38 }; << 39 << 40 rsc_table: rsc-table@1fff8000 << 41 reg = <0 0x1fff8000 0 << 42 no-map; << 43 }; << 44 << 45 vdev0vring0: vdev0vring0@aff00 << 46 reg = <0 0xaff00000 0 << 47 no-map; << 48 }; << 49 << 50 vdev0vring1: vdev0vring1@aff08 << 51 reg = <0 0xaff08000 0 << 52 no-map; << 53 }; << 54 << 55 vdev1vring0: vdev1vring0@aff10 << 56 reg = <0 0xaff10000 0 << 57 no-map; << 58 }; << 59 << 60 vdev1vring1: vdev1vring1@aff18 << 61 reg = <0 0xaff18000 0 << 62 no-map; << 63 }; << 64 << 65 vdevbuffer: vdevbuffer@a840000 << 66 compatible = "shared-d << 67 reg = <0 0xa8400000 0 << 68 no-map; << 69 }; << 70 }; << 71 << 72 clock_ext_rmii: clock-ext-rmii { 23 clock_ext_rmii: clock-ext-rmii { 73 compatible = "fixed-clock"; 24 compatible = "fixed-clock"; 74 clock-frequency = <50000000>; 25 clock-frequency = <50000000>; 75 clock-output-names = "ext_rmii 26 clock-output-names = "ext_rmii_clk"; 76 #clock-cells = <0>; 27 #clock-cells = <0>; 77 }; 28 }; 78 29 79 clock_ext_ts: clock-ext-ts { 30 clock_ext_ts: clock-ext-ts { 80 compatible = "fixed-clock"; 31 compatible = "fixed-clock"; 81 /* External ts clock is 50MHZ 32 /* External ts clock is 50MHZ from PHY on EVK board. */ 82 clock-frequency = <50000000>; 33 clock-frequency = <50000000>; 83 clock-output-names = "ext_ts_c 34 clock-output-names = "ext_ts_clk"; 84 #clock-cells = <0>; 35 #clock-cells = <0>; 85 }; 36 }; 86 }; 37 }; 87 38 88 &cm33 { << 89 mbox-names = "tx", "rx", "rxdb"; << 90 mboxes = <&mu 0 1>, << 91 <&mu 1 1>, << 92 <&mu 3 1>; << 93 memory-region = <&vdevbuffer>, <&vdev0 << 94 <&vdev1vring0>, <&vdev << 95 status = "okay"; << 96 }; << 97 << 98 &flexspi2 { << 99 pinctrl-names = "default", "sleep"; << 100 pinctrl-0 = <&pinctrl_flexspi2_ptd>; << 101 pinctrl-1 = <&pinctrl_flexspi2_ptd>; << 102 status = "okay"; << 103 << 104 mx25uw51345gxdi00: flash@0 { << 105 compatible = "jedec,spi-nor"; << 106 reg = <0>; << 107 spi-max-frequency = <200000000 << 108 spi-tx-bus-width = <8>; << 109 spi-rx-bus-width = <8>; << 110 }; << 111 }; << 112 << 113 &lpuart5 { 39 &lpuart5 { 114 /* console */ 40 /* console */ 115 pinctrl-names = "default", "sleep"; 41 pinctrl-names = "default", "sleep"; 116 pinctrl-0 = <&pinctrl_lpuart5>; 42 pinctrl-0 = <&pinctrl_lpuart5>; 117 pinctrl-1 = <&pinctrl_lpuart5>; 43 pinctrl-1 = <&pinctrl_lpuart5>; 118 status = "okay"; 44 status = "okay"; 119 }; 45 }; 120 46 121 &lpi2c7 { << 122 #address-cells = <1>; << 123 #size-cells = <0>; << 124 clock-frequency = <400000>; << 125 pinctrl-names = "default", "sleep"; << 126 pinctrl-0 = <&pinctrl_lpi2c7>; << 127 pinctrl-1 = <&pinctrl_lpi2c7>; << 128 status = "okay"; << 129 << 130 ptn5150_1: typec@1d { << 131 compatible = "nxp,ptn5150"; << 132 reg = <0x1d>; << 133 int-gpios = <&gpiof 3 IRQ_TYPE << 134 pinctrl-names = "default"; << 135 pinctrl-0 = <&pinctrl_typec1>; << 136 status = "disabled"; << 137 }; << 138 << 139 pcal6408: gpio@21 { << 140 compatible = "nxp,pcal9554b"; << 141 reg = <0x21>; << 142 gpio-controller; << 143 #gpio-cells = <2>; << 144 }; << 145 << 146 ptn5150_2: typec@3d { << 147 compatible = "nxp,ptn5150"; << 148 reg = <0x3d>; << 149 int-gpios = <&gpiof 5 IRQ_TYPE << 150 pinctrl-names = "default"; << 151 pinctrl-0 = <&pinctrl_typec2>; << 152 status = "disabled"; << 153 }; << 154 }; << 155 << 156 &usbotg1 { << 157 pinctrl-names = "default"; << 158 pinctrl-0 = <&pinctrl_usb1>; << 159 dr_mode = "otg"; << 160 hnp-disable; << 161 srp-disable; << 162 adp-disable; << 163 over-current-active-low; << 164 status = "okay"; << 165 }; << 166 << 167 &usbphy1 { << 168 fsl,tx-d-cal = <110>; << 169 status = "okay"; << 170 }; << 171 << 172 &usbmisc1 { << 173 status = "okay"; << 174 }; << 175 << 176 &usbotg2 { << 177 pinctrl-names = "default"; << 178 pinctrl-0 = <&pinctrl_usb2>; << 179 dr_mode = "otg"; << 180 hnp-disable; << 181 srp-disable; << 182 adp-disable; << 183 over-current-active-low; << 184 status = "okay"; << 185 }; << 186 << 187 &usbphy2 { << 188 fsl,tx-d-cal = <110>; << 189 status = "okay"; << 190 }; << 191 << 192 &usbmisc2 { << 193 status = "okay"; << 194 }; << 195 << 196 &usdhc0 { 47 &usdhc0 { 197 pinctrl-names = "default", "state_100m !! 48 pinctrl-names = "default", "sleep"; 198 pinctrl-0 = <&pinctrl_usdhc0>; 49 pinctrl-0 = <&pinctrl_usdhc0>; 199 pinctrl-1 = <&pinctrl_usdhc0>; 50 pinctrl-1 = <&pinctrl_usdhc0>; 200 pinctrl-2 = <&pinctrl_usdhc0>; << 201 pinctrl-3 = <&pinctrl_usdhc0>; << 202 non-removable; 51 non-removable; 203 bus-width = <8>; 52 bus-width = <8>; 204 status = "okay"; 53 status = "okay"; 205 }; 54 }; 206 55 207 &fec { 56 &fec { 208 pinctrl-names = "default", "sleep"; 57 pinctrl-names = "default", "sleep"; 209 pinctrl-0 = <&pinctrl_enet>; 58 pinctrl-0 = <&pinctrl_enet>; 210 pinctrl-1 = <&pinctrl_enet>; 59 pinctrl-1 = <&pinctrl_enet>; 211 clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBU 60 clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, 212 <&pcc4 IMX8ULP_CLK_ENET>, 61 <&pcc4 IMX8ULP_CLK_ENET>, 213 <&cgc1 IMX8ULP_CLK_ENET_TS_SE 62 <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, 214 <&clock_ext_rmii>; 63 <&clock_ext_rmii>; 215 clock-names = "ipg", "ahb", "ptp", "en 64 clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; 216 assigned-clocks = <&cgc1 IMX8ULP_CLK_E 65 assigned-clocks = <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>; 217 assigned-clock-parents = <&clock_ext_t 66 assigned-clock-parents = <&clock_ext_ts>; 218 phy-mode = "rmii"; 67 phy-mode = "rmii"; 219 phy-handle = <ðphy>; 68 phy-handle = <ðphy>; 220 status = "okay"; 69 status = "okay"; 221 70 222 mdio { 71 mdio { 223 #address-cells = <1>; 72 #address-cells = <1>; 224 #size-cells = <0>; 73 #size-cells = <0>; 225 74 226 ethphy: ethernet-phy@1 { 75 ethphy: ethernet-phy@1 { 227 reg = <1>; 76 reg = <1>; 228 micrel,led-mode = <1>; 77 micrel,led-mode = <1>; 229 }; 78 }; 230 }; 79 }; 231 }; 80 }; 232 81 233 &mu { << 234 status = "okay"; << 235 }; << 236 << 237 &iomuxc1 { 82 &iomuxc1 { 238 pinctrl_enet: enetgrp { 83 pinctrl_enet: enetgrp { 239 fsl,pins = < 84 fsl,pins = < 240 MX8ULP_PAD_PTE15__ENET 85 MX8ULP_PAD_PTE15__ENET0_MDC 0x43 241 MX8ULP_PAD_PTE14__ENET 86 MX8ULP_PAD_PTE14__ENET0_MDIO 0x43 242 MX8ULP_PAD_PTE17__ENET 87 MX8ULP_PAD_PTE17__ENET0_RXER 0x43 243 MX8ULP_PAD_PTE18__ENET 88 MX8ULP_PAD_PTE18__ENET0_CRS_DV 0x43 244 MX8ULP_PAD_PTF1__ENET0 89 MX8ULP_PAD_PTF1__ENET0_RXD0 0x43 245 MX8ULP_PAD_PTE20__ENET 90 MX8ULP_PAD_PTE20__ENET0_RXD1 0x43 246 MX8ULP_PAD_PTE16__ENET 91 MX8ULP_PAD_PTE16__ENET0_TXEN 0x43 247 MX8ULP_PAD_PTE23__ENET 92 MX8ULP_PAD_PTE23__ENET0_TXD0 0x43 248 MX8ULP_PAD_PTE22__ENET 93 MX8ULP_PAD_PTE22__ENET0_TXD1 0x43 249 MX8ULP_PAD_PTE19__ENET 94 MX8ULP_PAD_PTE19__ENET0_REFCLK 0x43 250 MX8ULP_PAD_PTF10__ENET 95 MX8ULP_PAD_PTF10__ENET0_1588_CLKIN 0x43 251 >; 96 >; 252 }; 97 }; 253 98 254 pinctrl_flexspi2_ptd: flexspi2ptdgrp { << 255 fsl,pins = < << 256 << 257 MX8ULP_PAD_PTD12__FLEX << 258 MX8ULP_PAD_PTD13__FLEX << 259 MX8ULP_PAD_PTD14__FLEX << 260 MX8ULP_PAD_PTD15__FLEX << 261 MX8ULP_PAD_PTD16__FLEX << 262 MX8ULP_PAD_PTD17__FLEX << 263 MX8ULP_PAD_PTD18__FLEX << 264 MX8ULP_PAD_PTD19__FLEX << 265 MX8ULP_PAD_PTD20__FLEX << 266 MX8ULP_PAD_PTD21__FLEX << 267 MX8ULP_PAD_PTD22__FLEX << 268 >; << 269 }; << 270 << 271 pinctrl_lpuart5: lpuart5grp { 99 pinctrl_lpuart5: lpuart5grp { 272 fsl,pins = < 100 fsl,pins = < 273 MX8ULP_PAD_PTF14__LPUA 101 MX8ULP_PAD_PTF14__LPUART5_TX 0x3 274 MX8ULP_PAD_PTF15__LPUA 102 MX8ULP_PAD_PTF15__LPUART5_RX 0x3 275 >; 103 >; 276 }; 104 }; 277 105 278 pinctrl_lpi2c7: lpi2c7grp { << 279 fsl,pins = < << 280 MX8ULP_PAD_PTE12__LPI2 << 281 MX8ULP_PAD_PTE13__LPI2 << 282 >; << 283 }; << 284 << 285 pinctrl_typec1: typec1grp { << 286 fsl,pins = < << 287 MX8ULP_PAD_PTF3__PTF3 << 288 >; << 289 }; << 290 << 291 pinctrl_typec2: typec2grp { << 292 fsl,pins = < << 293 MX8ULP_PAD_PTF5__PTF5 << 294 >; << 295 }; << 296 << 297 pinctrl_usb1: usb1grp { << 298 fsl,pins = < << 299 MX8ULP_PAD_PTF2__USB0_ << 300 MX8ULP_PAD_PTF4__USB0_ << 301 >; << 302 }; << 303 << 304 pinctrl_usb2: usb2grp { << 305 fsl,pins = < << 306 MX8ULP_PAD_PTD23__USB1 << 307 MX8ULP_PAD_PTF6__USB1_ << 308 >; << 309 }; << 310 << 311 pinctrl_usdhc0: usdhc0grp { 106 pinctrl_usdhc0: usdhc0grp { 312 fsl,pins = < 107 fsl,pins = < 313 MX8ULP_PAD_PTD1__SDHC0 !! 108 MX8ULP_PAD_PTD1__SDHC0_CMD 0x43 314 MX8ULP_PAD_PTD2__SDHC0 !! 109 MX8ULP_PAD_PTD2__SDHC0_CLK 0x10042 315 MX8ULP_PAD_PTD10__SDHC !! 110 MX8ULP_PAD_PTD10__SDHC0_D0 0x43 316 MX8ULP_PAD_PTD9__SDHC0 !! 111 MX8ULP_PAD_PTD9__SDHC0_D1 0x43 317 MX8ULP_PAD_PTD8__SDHC0 !! 112 MX8ULP_PAD_PTD8__SDHC0_D2 0x43 318 MX8ULP_PAD_PTD7__SDHC0 !! 113 MX8ULP_PAD_PTD7__SDHC0_D3 0x43 319 MX8ULP_PAD_PTD6__SDHC0 !! 114 MX8ULP_PAD_PTD6__SDHC0_D4 0x43 320 MX8ULP_PAD_PTD5__SDHC0 !! 115 MX8ULP_PAD_PTD5__SDHC0_D5 0x43 321 MX8ULP_PAD_PTD4__SDHC0 !! 116 MX8ULP_PAD_PTD4__SDHC0_D6 0x43 322 MX8ULP_PAD_PTD3__SDHC0 !! 117 MX8ULP_PAD_PTD3__SDHC0_D7 0x43 323 MX8ULP_PAD_PTD11__SDHC !! 118 MX8ULP_PAD_PTD11__SDHC0_DQS 0x10042 324 >; 119 >; 325 }; 120 }; 326 }; 121 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.