1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
8 #include "k3-j721e-som-p0.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
14 stdout-path = "serial2:115200n8";
15 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
18 gpio_keys: gpio-keys {
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&sw10_button_pins_default &sw11_button_pins_default>;
25 label = "GPIO Key USER1";
27 gpios = <&main_gpio0 0 GPIO_ACTIVE_LOW>;
31 label = "GPIO Key USER2";
33 gpios = <&wkup_gpio0 7 GPIO_ACTIVE_LOW>;
39 sw10_button_pins_default: sw10_button_pins_default {
40 pinctrl-single,pins = <
41 J721E_IOPAD(0x0, PIN_INPUT, 7) /* (AC18) EXTINTn.GPIO0_0 */
45 main_mmc1_pins_default: main_mmc1_pins_default {
46 pinctrl-single,pins = <
47 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
48 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
49 J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
50 J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
51 J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
52 J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
53 J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
54 J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
55 J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
59 main_usbss0_pins_default: main_usbss0_pins_default {
60 pinctrl-single,pins = <
61 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
65 main_usbss1_pins_default: main_usbss1_pins_default {
66 pinctrl-single,pins = <
67 J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
71 main_i2c1_exp4_pins_default: main-i2c1-exp4-pins-default {
72 pinctrl-single,pins = <
73 J721E_IOPAD(0x230, PIN_INPUT, 7) /* (U2) ECAP0_IN_APWM_OUT.GPIO1_11 */
77 main_i2c0_pins_default: main-i2c0-pins-default {
78 pinctrl-single,pins = <
79 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
80 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
84 main_i2c1_pins_default: main-i2c1-pins-default {
85 pinctrl-single,pins = <
86 J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */
87 J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */
91 main_i2c3_pins_default: main-i2c3-pins-default {
92 pinctrl-single,pins = <
93 J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */
94 J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */
98 main_i2c6_pins_default: main-i2c6-pins-default {
99 pinctrl-single,pins = <
100 J721E_IOPAD(0x1d0, PIN_INPUT_PULLUP, 2) /* (AA3) SPI0_D1.I2C6_SCL */
101 J721E_IOPAD(0x1e4, PIN_INPUT_PULLUP, 2) /* (Y2) SPI1_D1.I2C6_SDA */
105 main_i2c1_exp4_pins_default: main-i2c1-exp4-pins-default {
106 pinctrl-single,pins = <
107 J721E_IOPAD(0x230, PIN_INPUT, 7) /* (U2) ECAP0_IN_APWM_OUT.GPIO1_11 */
113 sw11_button_pins_default: sw11_button_pins_default {
114 pinctrl-single,pins = <
115 J721E_WKUP_IOPAD(0xcc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */
119 mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default {
120 pinctrl-single,pins = <
121 J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */
122 J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */
123 J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */
124 J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */
125 J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */
126 J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */
127 J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
128 J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
134 /* Wakeup UART is used by System firmware */
139 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
143 /* UART not brought out */
148 /* UART not brought out */
153 /* UART not brought out */
158 /* UART not brought out */
163 /* UART not brought out */
168 /* UART not brought out */
201 interrupts = <214 0>;
203 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
204 ti,mbox-rx = <0 0 0>;
205 ti,mbox-tx = <1 0 0>;
208 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
209 ti,mbox-rx = <2 0 0>;
210 ti,mbox-tx = <3 0 0>;
215 interrupts = <215 0>;
217 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
218 ti,mbox-rx = <0 0 0>;
219 ti,mbox-tx = <1 0 0>;
222 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
223 ti,mbox-rx = <2 0 0>;
224 ti,mbox-tx = <3 0 0>;
229 interrupts = <216 0>;
231 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
232 ti,mbox-rx = <0 0 0>;
233 ti,mbox-tx = <1 0 0>;
236 mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
237 ti,mbox-rx = <2 0 0>;
238 ti,mbox-tx = <3 0 0>;
243 interrupts = <217 0>;
245 mbox_c66_0: mbox-c66-0 {
246 ti,mbox-rx = <0 0 0>;
247 ti,mbox-tx = <1 0 0>;
250 mbox_c66_1: mbox-c66-1 {
251 ti,mbox-rx = <2 0 0>;
252 ti,mbox-tx = <3 0 0>;
257 interrupts = <218 0>;
259 mbox_c71_0: mbox-c71-0 {
260 ti,mbox-rx = <0 0 0>;
261 ti,mbox-tx = <1 0 0>;
285 &mailbox0_cluster10 {
289 &mailbox0_cluster11 {
296 ti,driver-strength-ohm = <50>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&main_mmc1_pins_default>;
304 ti,driver-strength-ohm = <50>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&main_usbss0_pins_default>;
322 maximum-speed = "high-speed";
326 pinctrl-names = "default";
327 pinctrl-0 = <&main_usbss1_pins_default>;
333 maximum-speed = "high-speed";
337 pinctrl-names = "default";
338 pinctrl-0 = <&mcu_fss0_ospi1_pins_default>;
341 compatible = "jedec,spi-nor";
343 spi-tx-bus-width = <1>;
344 spi-rx-bus-width = <4>;
345 spi-max-frequency = <40000000>;
346 cdns,tshsl-ns = <60>;
347 cdns,tsd2d-ns = <60>;
348 cdns,tchsh-ns = <60>;
349 cdns,tslch-ns = <60>;
350 cdns,read-delay = <2>;
351 #address-cells = <1>;
358 ti,adc-channels = <0 1 2 3 4 5 6 7>;
364 ti,adc-channels = <0 1 2 3 4 5 6 7>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&main_i2c0_pins_default>;
371 clock-frequency = <400000>;
374 compatible = "ti,tca6416";
381 compatible = "ti,tca6424";
389 pinctrl-names = "default";
390 pinctrl-0 = <&main_i2c1_pins_default>;
391 clock-frequency = <400000>;
394 compatible = "ti,tca6408";
398 pinctrl-names = "default";
399 pinctrl-0 = <&main_i2c1_exp4_pins_default>;
400 interrupt-parent = <&main_gpio1>;
401 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
402 interrupt-controller;
403 #interrupt-cells = <2>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&main_i2c3_pins_default>;
410 clock-frequency = <400000>;
413 compatible = "ti,tca6408";
421 pinctrl-names = "default";
422 pinctrl-0 = <&main_i2c6_pins_default>;
423 clock-frequency = <400000>;
426 compatible = "ti,tca6408";