Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "k3-j721e-som-p0.dtsi" |
| 9 | |
| 10 | / { |
| 11 | chosen { |
| 12 | stdout-path = "serial2:115200n8"; |
| 13 | bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; |
| 14 | }; |
Lokesh Vutla | 1a12804 | 2019-09-04 16:01:37 +0530 | [diff] [blame] | 15 | |
| 16 | aliases { |
| 17 | remoteproc0 = &mcu_r5fss0_core0; |
| 18 | remoteproc1 = &mcu_r5fss0_core1; |
Lokesh Vutla | 28b9765 | 2019-09-04 16:01:38 +0530 | [diff] [blame] | 19 | remoteproc2 = &main_r5fss0_core0; |
| 20 | remoteproc3 = &main_r5fss0_core1; |
| 21 | remoteproc4 = &main_r5fss1_core0; |
| 22 | remoteproc5 = &main_r5fss1_core1; |
Lokesh Vutla | 4dbd7ed | 2019-09-04 16:01:39 +0530 | [diff] [blame] | 23 | remoteproc6 = &c66_0; |
| 24 | remoteproc7 = &c66_1; |
Lokesh Vutla | c9d636d | 2019-09-04 16:01:40 +0530 | [diff] [blame] | 25 | remoteproc8 = &c71_0; |
Lokesh Vutla | 1a12804 | 2019-09-04 16:01:37 +0530 | [diff] [blame] | 26 | }; |
Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | &wkup_uart0 { |
| 30 | /* Wakeup UART is used by System firmware */ |
| 31 | status = "disabled"; |
| 32 | }; |
| 33 | |
Lokesh Vutla | 190ff64 | 2019-09-29 17:37:58 +0530 | [diff] [blame] | 34 | &main_uart0 { |
| 35 | power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; |
| 36 | }; |
| 37 | |
Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 38 | &main_uart3 { |
| 39 | /* UART not brought out */ |
| 40 | status = "disabled"; |
| 41 | }; |
| 42 | |
| 43 | &main_uart5 { |
| 44 | /* UART not brought out */ |
| 45 | status = "disabled"; |
| 46 | }; |
| 47 | |
| 48 | &main_uart6 { |
| 49 | /* UART not brought out */ |
| 50 | status = "disabled"; |
| 51 | }; |
| 52 | |
| 53 | &main_uart7 { |
| 54 | /* UART not brought out */ |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | &main_uart8 { |
| 59 | /* UART not brought out */ |
| 60 | status = "disabled"; |
| 61 | }; |
| 62 | |
| 63 | &main_uart9 { |
| 64 | /* UART not brought out */ |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | |
Faiz Abbas | c67d389 | 2020-01-16 19:42:21 +0530 | [diff] [blame^] | 68 | &main_pmx0 { |
| 69 | main_mmc1_pins_default: main_mmc1_pins_default { |
| 70 | pinctrl-single,pins = < |
| 71 | J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ |
| 72 | J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ |
| 73 | J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */ |
| 74 | J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */ |
| 75 | J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */ |
| 76 | J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */ |
| 77 | J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */ |
| 78 | J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */ |
| 79 | J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */ |
| 80 | >; |
| 81 | }; |
| 82 | }; |
| 83 | |
Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 84 | &main_sdhci0 { |
| 85 | /* eMMC */ |
Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 86 | non-removable; |
| 87 | ti,driver-strength-ohm = <50>; |
| 88 | }; |
| 89 | |
| 90 | &main_sdhci1 { |
Faiz Abbas | c67d389 | 2020-01-16 19:42:21 +0530 | [diff] [blame^] | 91 | /* SD card */ |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&main_mmc1_pins_default>; |
Lokesh Vutla | b2c99a2 | 2019-06-13 10:29:54 +0530 | [diff] [blame] | 94 | ti,driver-strength-ohm = <50>; |
| 95 | }; |
Vignesh Raghavendra | 04ed493 | 2019-11-18 19:16:35 +0530 | [diff] [blame] | 96 | |
| 97 | &main_pmx0 { |
| 98 | main_usbss0_pins_default: main_usbss0_pins_default { |
| 99 | pinctrl-single,pins = < |
| 100 | J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */ |
| 101 | J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */ |
| 102 | >; |
| 103 | }; |
| 104 | |
| 105 | main_usbss1_pins_default: main_usbss1_pins_default { |
| 106 | pinctrl-single,pins = < |
| 107 | J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */ |
| 108 | >; |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | &usbss0 { |
| 113 | pinctrl-names = "default"; |
| 114 | pinctrl-0 = <&main_usbss0_pins_default>; |
| 115 | ti,vbus-divider; |
| 116 | }; |
| 117 | |
| 118 | &usb0 { |
| 119 | dr_mode = "otg"; |
| 120 | maximum-speed = "super-speed"; |
| 121 | }; |
| 122 | |
| 123 | &usbss1 { |
| 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&main_usbss1_pins_default>; |
| 126 | ti,usb2-only; |
| 127 | }; |
| 128 | |
| 129 | &usb1 { |
| 130 | dr_mode = "host"; |
| 131 | maximum-speed = "high-speed"; |
| 132 | }; |