1a6e917b7SJacky Bai// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2a6e917b7SJacky Bai/* 3a6e917b7SJacky Bai * Copyright 2021 NXP 4a6e917b7SJacky Bai */ 5a6e917b7SJacky Bai 6a6e917b7SJacky Bai/dts-v1/; 7a6e917b7SJacky Bai 8a6e917b7SJacky Bai#include "imx8ulp.dtsi" 9a6e917b7SJacky Bai 10a6e917b7SJacky Bai/ { 11a6e917b7SJacky Bai model = "NXP i.MX8ULP EVK"; 12a6e917b7SJacky Bai compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp"; 13a6e917b7SJacky Bai 14a6e917b7SJacky Bai chosen { 15a6e917b7SJacky Bai stdout-path = &lpuart5; 16a6e917b7SJacky Bai }; 17a6e917b7SJacky Bai 18a6e917b7SJacky Bai memory@80000000 { 19a6e917b7SJacky Bai device_type = "memory"; 20a6e917b7SJacky Bai reg = <0x0 0x80000000 0 0x80000000>; 21a6e917b7SJacky Bai }; 221170826eSWei Fang 23*d0da51bbSPeng Fan reserved-memory { 24*d0da51bbSPeng Fan #address-cells = <2>; 25*d0da51bbSPeng Fan #size-cells = <2>; 26*d0da51bbSPeng Fan ranges; 27*d0da51bbSPeng Fan 28*d0da51bbSPeng Fan linux,cma { 29*d0da51bbSPeng Fan compatible = "shared-dma-pool"; 30*d0da51bbSPeng Fan reusable; 31*d0da51bbSPeng Fan size = <0 0x28000000>; 32*d0da51bbSPeng Fan linux,cma-default; 33*d0da51bbSPeng Fan }; 34*d0da51bbSPeng Fan }; 35*d0da51bbSPeng Fan 361170826eSWei Fang clock_ext_rmii: clock-ext-rmii { 371170826eSWei Fang compatible = "fixed-clock"; 381170826eSWei Fang clock-frequency = <50000000>; 391170826eSWei Fang clock-output-names = "ext_rmii_clk"; 401170826eSWei Fang #clock-cells = <0>; 411170826eSWei Fang }; 421170826eSWei Fang 431170826eSWei Fang clock_ext_ts: clock-ext-ts { 441170826eSWei Fang compatible = "fixed-clock"; 451170826eSWei Fang /* External ts clock is 50MHZ from PHY on EVK board. */ 461170826eSWei Fang clock-frequency = <50000000>; 471170826eSWei Fang clock-output-names = "ext_ts_clk"; 481170826eSWei Fang #clock-cells = <0>; 491170826eSWei Fang }; 50a6e917b7SJacky Bai}; 51a6e917b7SJacky Bai 52a6e917b7SJacky Bai&lpuart5 { 53a6e917b7SJacky Bai /* console */ 54a6e917b7SJacky Bai pinctrl-names = "default", "sleep"; 55a6e917b7SJacky Bai pinctrl-0 = <&pinctrl_lpuart5>; 56a6e917b7SJacky Bai pinctrl-1 = <&pinctrl_lpuart5>; 57a6e917b7SJacky Bai status = "okay"; 58a6e917b7SJacky Bai}; 59a6e917b7SJacky Bai 60a6e917b7SJacky Bai&usdhc0 { 61a6e917b7SJacky Bai pinctrl-names = "default", "sleep"; 62a6e917b7SJacky Bai pinctrl-0 = <&pinctrl_usdhc0>; 63a6e917b7SJacky Bai pinctrl-1 = <&pinctrl_usdhc0>; 64a6e917b7SJacky Bai non-removable; 65a6e917b7SJacky Bai bus-width = <8>; 66a6e917b7SJacky Bai status = "okay"; 67a6e917b7SJacky Bai}; 68a6e917b7SJacky Bai 691170826eSWei Fang&fec { 701170826eSWei Fang pinctrl-names = "default", "sleep"; 711170826eSWei Fang pinctrl-0 = <&pinctrl_enet>; 721170826eSWei Fang pinctrl-1 = <&pinctrl_enet>; 731170826eSWei Fang clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, 741170826eSWei Fang <&pcc4 IMX8ULP_CLK_ENET>, 751170826eSWei Fang <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, 761170826eSWei Fang <&clock_ext_rmii>; 771170826eSWei Fang clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; 781170826eSWei Fang assigned-clocks = <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>; 791170826eSWei Fang assigned-clock-parents = <&clock_ext_ts>; 801170826eSWei Fang phy-mode = "rmii"; 811170826eSWei Fang phy-handle = <ðphy>; 821170826eSWei Fang status = "okay"; 831170826eSWei Fang 841170826eSWei Fang mdio { 851170826eSWei Fang #address-cells = <1>; 861170826eSWei Fang #size-cells = <0>; 871170826eSWei Fang 881170826eSWei Fang ethphy: ethernet-phy@1 { 891170826eSWei Fang reg = <1>; 901170826eSWei Fang micrel,led-mode = <1>; 911170826eSWei Fang }; 921170826eSWei Fang }; 931170826eSWei Fang}; 941170826eSWei Fang 95a6e917b7SJacky Bai&iomuxc1 { 961170826eSWei Fang pinctrl_enet: enetgrp { 971170826eSWei Fang fsl,pins = < 981170826eSWei Fang MX8ULP_PAD_PTE15__ENET0_MDC 0x43 991170826eSWei Fang MX8ULP_PAD_PTE14__ENET0_MDIO 0x43 1001170826eSWei Fang MX8ULP_PAD_PTE17__ENET0_RXER 0x43 1011170826eSWei Fang MX8ULP_PAD_PTE18__ENET0_CRS_DV 0x43 1021170826eSWei Fang MX8ULP_PAD_PTF1__ENET0_RXD0 0x43 1031170826eSWei Fang MX8ULP_PAD_PTE20__ENET0_RXD1 0x43 1041170826eSWei Fang MX8ULP_PAD_PTE16__ENET0_TXEN 0x43 1051170826eSWei Fang MX8ULP_PAD_PTE23__ENET0_TXD0 0x43 1061170826eSWei Fang MX8ULP_PAD_PTE22__ENET0_TXD1 0x43 1071170826eSWei Fang MX8ULP_PAD_PTE19__ENET0_REFCLK 0x43 1081170826eSWei Fang MX8ULP_PAD_PTF10__ENET0_1588_CLKIN 0x43 1091170826eSWei Fang >; 1101170826eSWei Fang }; 1111170826eSWei Fang 112a6e917b7SJacky Bai pinctrl_lpuart5: lpuart5grp { 113a6e917b7SJacky Bai fsl,pins = < 114a6e917b7SJacky Bai MX8ULP_PAD_PTF14__LPUART5_TX 0x3 115a6e917b7SJacky Bai MX8ULP_PAD_PTF15__LPUART5_RX 0x3 116a6e917b7SJacky Bai >; 117a6e917b7SJacky Bai }; 118a6e917b7SJacky Bai 119a6e917b7SJacky Bai pinctrl_usdhc0: usdhc0grp { 120a6e917b7SJacky Bai fsl,pins = < 121a6e917b7SJacky Bai MX8ULP_PAD_PTD1__SDHC0_CMD 0x43 122a6e917b7SJacky Bai MX8ULP_PAD_PTD2__SDHC0_CLK 0x10042 123a6e917b7SJacky Bai MX8ULP_PAD_PTD10__SDHC0_D0 0x43 124a6e917b7SJacky Bai MX8ULP_PAD_PTD9__SDHC0_D1 0x43 125a6e917b7SJacky Bai MX8ULP_PAD_PTD8__SDHC0_D2 0x43 126a6e917b7SJacky Bai MX8ULP_PAD_PTD7__SDHC0_D3 0x43 127a6e917b7SJacky Bai MX8ULP_PAD_PTD6__SDHC0_D4 0x43 128a6e917b7SJacky Bai MX8ULP_PAD_PTD5__SDHC0_D5 0x43 129a6e917b7SJacky Bai MX8ULP_PAD_PTD4__SDHC0_D6 0x43 130a6e917b7SJacky Bai MX8ULP_PAD_PTD3__SDHC0_D7 0x43 131a6e917b7SJacky Bai MX8ULP_PAD_PTD11__SDHC0_DQS 0x10042 132a6e917b7SJacky Bai >; 133a6e917b7SJacky Bai }; 134a6e917b7SJacky Bai}; 135