1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright 2016 Freescale Semiconductor, Inc. 4*724ba675SRob Herring * Copyright 2017-2018 NXP 5*724ba675SRob Herring * Dong Aisheng <aisheng.dong@nxp.com> 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring/dts-v1/; 9*724ba675SRob Herring 10*724ba675SRob Herring#include "imx7ulp.dtsi" 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring model = "NXP i.MX7ULP EVK"; 14*724ba675SRob Herring compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; 15*724ba675SRob Herring 16*724ba675SRob Herring chosen { 17*724ba675SRob Herring stdout-path = &lpuart4; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring memory@60000000 { 21*724ba675SRob Herring device_type = "memory"; 22*724ba675SRob Herring reg = <0x60000000 0x40000000>; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring backlight { 26*724ba675SRob Herring compatible = "pwm-backlight"; 27*724ba675SRob Herring pwms = <&tpm4 1 50000 0>; 28*724ba675SRob Herring brightness-levels = <0 20 25 30 35 40 100>; 29*724ba675SRob Herring default-brightness-level = <6>; 30*724ba675SRob Herring status = "okay"; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 34*724ba675SRob Herring compatible = "regulator-fixed"; 35*724ba675SRob Herring pinctrl-names = "default"; 36*724ba675SRob Herring pinctrl-0 = <&pinctrl_usbotg1_vbus>; 37*724ba675SRob Herring regulator-name = "usb_otg1_vbus"; 38*724ba675SRob Herring regulator-min-microvolt = <5000000>; 39*724ba675SRob Herring regulator-max-microvolt = <5000000>; 40*724ba675SRob Herring gpio = <&gpio_ptc 0 GPIO_ACTIVE_HIGH>; 41*724ba675SRob Herring enable-active-high; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring reg_vsd_3v3: regulator-vsd-3v3 { 45*724ba675SRob Herring compatible = "regulator-fixed"; 46*724ba675SRob Herring regulator-name = "VSD_3V3"; 47*724ba675SRob Herring regulator-min-microvolt = <3300000>; 48*724ba675SRob Herring regulator-max-microvolt = <3300000>; 49*724ba675SRob Herring pinctrl-names = "default"; 50*724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc0_rst>; 51*724ba675SRob Herring gpio = <&gpio_ptd 0 GPIO_ACTIVE_HIGH>; 52*724ba675SRob Herring enable-active-high; 53*724ba675SRob Herring }; 54*724ba675SRob Herring}; 55*724ba675SRob Herring 56*724ba675SRob Herring&lpuart4 { 57*724ba675SRob Herring pinctrl-names = "default"; 58*724ba675SRob Herring pinctrl-0 = <&pinctrl_lpuart4>; 59*724ba675SRob Herring status = "okay"; 60*724ba675SRob Herring}; 61*724ba675SRob Herring 62*724ba675SRob Herring&tpm4 { 63*724ba675SRob Herring pinctrl-names = "default"; 64*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm0>; 65*724ba675SRob Herring status = "okay"; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&usbotg1 { 69*724ba675SRob Herring vbus-supply = <®_usb_otg1_vbus>; 70*724ba675SRob Herring pinctrl-names = "default"; 71*724ba675SRob Herring pinctrl-0 = <&pinctrl_usbotg1_id>; 72*724ba675SRob Herring srp-disable; 73*724ba675SRob Herring hnp-disable; 74*724ba675SRob Herring adp-disable; 75*724ba675SRob Herring disable-over-current; 76*724ba675SRob Herring status = "okay"; 77*724ba675SRob Herring}; 78*724ba675SRob Herring 79*724ba675SRob Herring&usdhc0 { 80*724ba675SRob Herring assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC0>; 81*724ba675SRob Herring assigned-clock-parents = <&scg1 IMX7ULP_CLK_APLL_PFD1>; 82*724ba675SRob Herring pinctrl-names = "default"; 83*724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc0>; 84*724ba675SRob Herring cd-gpios = <&gpio_ptc 10 GPIO_ACTIVE_LOW>; 85*724ba675SRob Herring vmmc-supply = <®_vsd_3v3>; 86*724ba675SRob Herring status = "okay"; 87*724ba675SRob Herring}; 88*724ba675SRob Herring 89*724ba675SRob Herring&iomuxc1 { 90*724ba675SRob Herring pinctrl_lpuart4: lpuart4grp { 91*724ba675SRob Herring fsl,pins = < 92*724ba675SRob Herring IMX7ULP_PAD_PTC3__LPUART4_RX 0x3 93*724ba675SRob Herring IMX7ULP_PAD_PTC2__LPUART4_TX 0x3 94*724ba675SRob Herring >; 95*724ba675SRob Herring bias-pull-up; 96*724ba675SRob Herring }; 97*724ba675SRob Herring 98*724ba675SRob Herring pinctrl_pwm0: pwm0grp { 99*724ba675SRob Herring fsl,pins = < 100*724ba675SRob Herring IMX7ULP_PAD_PTF2__TPM4_CH1 0x2 101*724ba675SRob Herring >; 102*724ba675SRob Herring }; 103*724ba675SRob Herring 104*724ba675SRob Herring pinctrl_usbotg1_vbus: otg1vbusgrp { 105*724ba675SRob Herring fsl,pins = < 106*724ba675SRob Herring IMX7ULP_PAD_PTC0__PTC0 0x20000 107*724ba675SRob Herring >; 108*724ba675SRob Herring }; 109*724ba675SRob Herring 110*724ba675SRob Herring pinctrl_usbotg1_id: otg1idgrp { 111*724ba675SRob Herring fsl,pins = < 112*724ba675SRob Herring IMX7ULP_PAD_PTC13__USB0_ID 0x10003 113*724ba675SRob Herring >; 114*724ba675SRob Herring }; 115*724ba675SRob Herring 116*724ba675SRob Herring pinctrl_usdhc0: usdhc0grp { 117*724ba675SRob Herring fsl,pins = < 118*724ba675SRob Herring IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 119*724ba675SRob Herring IMX7ULP_PAD_PTD2__SDHC0_CLK 0x40 120*724ba675SRob Herring IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 121*724ba675SRob Herring IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 122*724ba675SRob Herring IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 123*724ba675SRob Herring IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 124*724ba675SRob Herring IMX7ULP_PAD_PTC10__PTC10 0x3 /* CD */ 125*724ba675SRob Herring >; 126*724ba675SRob Herring }; 127*724ba675SRob Herring 128*724ba675SRob Herring pinctrl_usdhc0_rst: usdhc0-gpio-rst-grp { 129*724ba675SRob Herring fsl,pins = < 130*724ba675SRob Herring IMX7ULP_PAD_PTD0__PTD0 0x3 131*724ba675SRob Herring >; 132*724ba675SRob Herring }; 133*724ba675SRob Herring}; 134