Fabio Estevam | ebc8fcc | 2019-12-09 10:43:03 -0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | // |
| 3 | // Copyright 2019 NXP |
| 4 | // Author: Fabio Estevam <fabio.estevam@nxp.com> |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "imx7ulp.dtsi" |
Ricardo Salveti | 0219250 | 2021-09-12 17:32:57 +0300 | [diff] [blame] | 9 | #include "imx7ulp-com-u-boot.dtsi" |
Fabio Estevam | ebc8fcc | 2019-12-09 10:43:03 -0300 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | model = "Embedded Artists i.MX7ULP COM"; |
| 13 | compatible = "ea,imx7ulp-com", "fsl,imx7ulp"; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = &lpuart4; |
| 17 | }; |
| 18 | |
| 19 | memory { |
| 20 | device_type = "memory"; |
| 21 | reg = <0x60000000 0x8000000>; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | &lpuart4 { |
| 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&pinctrl_lpuart4>; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
| 31 | &usbotg1 { |
| 32 | pinctrl-names = "default"; |
| 33 | pinctrl-0 = <&pinctrl_usbotg1_id>; |
| 34 | srp-disable; |
| 35 | hnp-disable; |
| 36 | adp-disable; |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &usbphy1 { |
| 41 | fsl,tx-d-cal = <88>; |
| 42 | }; |
| 43 | |
| 44 | &usdhc0 { |
| 45 | pinctrl-names = "default"; |
| 46 | pinctrl-0 = <&pinctrl_usdhc0>; |
| 47 | non-removable; |
| 48 | bus-width = <8>; |
| 49 | no-1-8-v; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &iomuxc1 { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&pinctrl_hog_1>; |
| 56 | |
| 57 | pinctrl_hog_1: hoggrp-1 { |
| 58 | fsl,pins = < |
| 59 | IMX7ULP_PAD_PTC1__PTC1 0x20000 |
| 60 | >; |
| 61 | }; |
| 62 | |
| 63 | pinctrl_lpuart4: lpuart4grp { |
| 64 | fsl,pins = < |
| 65 | IMX7ULP_PAD_PTC3__LPUART4_RX 0x3 |
| 66 | IMX7ULP_PAD_PTC2__LPUART4_TX 0x3 |
| 67 | >; |
| 68 | }; |
| 69 | |
| 70 | pinctrl_usdhc0: usdhc0grp { |
| 71 | fsl,pins = < |
| 72 | IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 |
| 73 | IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042 |
| 74 | IMX7ULP_PAD_PTD3__SDHC0_D7 0x43 |
| 75 | IMX7ULP_PAD_PTD4__SDHC0_D6 0x43 |
| 76 | IMX7ULP_PAD_PTD5__SDHC0_D5 0x43 |
| 77 | IMX7ULP_PAD_PTD6__SDHC0_D4 0x43 |
| 78 | IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 |
| 79 | IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 |
| 80 | IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 |
| 81 | IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 |
| 82 | IMX7ULP_PAD_PTD11__SDHC0_DQS 0x42 |
| 83 | >; |
| 84 | }; |
| 85 | |
| 86 | pinctrl_usbotg1_id: otg1idgrp { |
| 87 | fsl,pins = < |
| 88 | IMX7ULP_PAD_PTC13__USB0_ID 0x10003 |
| 89 | >; |
| 90 | }; |
| 91 | }; |