18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci/dts-v1/; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include "k3-am654.dtsi" 98c2ecf20Sopenharmony_ci#include <dt-bindings/input/input.h> 108c2ecf20Sopenharmony_ci#include <dt-bindings/net/ti-dp83867.h> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/ { 138c2ecf20Sopenharmony_ci compatible = "ti,am654-evm", "ti,am654"; 148c2ecf20Sopenharmony_ci model = "Texas Instruments AM654 Base Board"; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci chosen { 178c2ecf20Sopenharmony_ci stdout-path = "serial2:115200n8"; 188c2ecf20Sopenharmony_ci bootargs = "earlycon=ns16550a,mmio32,0x02800000"; 198c2ecf20Sopenharmony_ci }; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci memory@80000000 { 228c2ecf20Sopenharmony_ci device_type = "memory"; 238c2ecf20Sopenharmony_ci /* 4G RAM */ 248c2ecf20Sopenharmony_ci reg = <0x00000000 0x80000000 0x00000000 0x80000000>, 258c2ecf20Sopenharmony_ci <0x00000008 0x80000000 0x00000000 0x80000000>; 268c2ecf20Sopenharmony_ci }; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci reserved-memory { 298c2ecf20Sopenharmony_ci #address-cells = <2>; 308c2ecf20Sopenharmony_ci #size-cells = <2>; 318c2ecf20Sopenharmony_ci ranges; 328c2ecf20Sopenharmony_ci secure_ddr: secure-ddr@9e800000 { 338c2ecf20Sopenharmony_ci reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */ 348c2ecf20Sopenharmony_ci alignment = <0x1000>; 358c2ecf20Sopenharmony_ci no-map; 368c2ecf20Sopenharmony_ci }; 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci gpio-keys { 408c2ecf20Sopenharmony_ci compatible = "gpio-keys"; 418c2ecf20Sopenharmony_ci autorepeat; 428c2ecf20Sopenharmony_ci pinctrl-names = "default"; 438c2ecf20Sopenharmony_ci pinctrl-0 = <&push_button_pins_default>; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci sw5 { 468c2ecf20Sopenharmony_ci label = "GPIO Key USER1"; 478c2ecf20Sopenharmony_ci linux,code = <BTN_0>; 488c2ecf20Sopenharmony_ci gpios = <&wkup_gpio0 24 GPIO_ACTIVE_LOW>; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci sw6 { 528c2ecf20Sopenharmony_ci label = "GPIO Key USER2"; 538c2ecf20Sopenharmony_ci linux,code = <BTN_1>; 548c2ecf20Sopenharmony_ci gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>; 558c2ecf20Sopenharmony_ci }; 568c2ecf20Sopenharmony_ci }; 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci clk_ov5640_fixed: clock { 598c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 608c2ecf20Sopenharmony_ci #clock-cells = <0>; 618c2ecf20Sopenharmony_ci clock-frequency = <24000000>; 628c2ecf20Sopenharmony_ci }; 638c2ecf20Sopenharmony_ci}; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci&wkup_pmx0 { 668c2ecf20Sopenharmony_ci wkup_i2c0_pins_default: wkup-i2c0-pins-default { 678c2ecf20Sopenharmony_ci pinctrl-single,pins = < 688c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ 698c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ 708c2ecf20Sopenharmony_ci >; 718c2ecf20Sopenharmony_ci }; 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci push_button_pins_default: push-button-pins-default { 748c2ecf20Sopenharmony_ci pinctrl-single,pins = < 758c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0030, PIN_INPUT, 7) /* (R5) WKUP_GPIO0_24 */ 768c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x003c, PIN_INPUT, 7) /* (P2) WKUP_GPIO0_27 */ 778c2ecf20Sopenharmony_ci >; 788c2ecf20Sopenharmony_ci }; 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ci mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 818c2ecf20Sopenharmony_ci pinctrl-single,pins = < 828c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* (V1) MCU_OSPI0_CLK */ 838c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* (U2) MCU_OSPI0_DQS */ 848c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* (U4) MCU_OSPI0_D0 */ 858c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* (U5) MCU_OSPI0_D1 */ 868c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* (T2) MCU_OSPI0_D2 */ 878c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* (T3) MCU_OSPI0_D3 */ 888c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* (T4) MCU_OSPI0_D4 */ 898c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* (T5) MCU_OSPI0_D5 */ 908c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* (R2) MCU_OSPI0_D6 */ 918c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* (R3) MCU_OSPI0_D7 */ 928c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* (R4) MCU_OSPI0_CSn0 */ 938c2ecf20Sopenharmony_ci >; 948c2ecf20Sopenharmony_ci }; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci wkup_pca554_default: wkup-pca554-default { 978c2ecf20Sopenharmony_ci pinctrl-single,pins = < 988c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7) /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */ 998c2ecf20Sopenharmony_ci >; 1008c2ecf20Sopenharmony_ci }; 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci mcu_cpsw_pins_default: mcu-cpsw-pins-default { 1038c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1048c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* (N4) MCU_RGMII1_TX_CTL */ 1058c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* (N5) MCU_RGMII1_RX_CTL */ 1068c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 0) /* (M2) MCU_RGMII1_TD3 */ 1078c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 0) /* (M3) MCU_RGMII1_TD2 */ 1088c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* (M4) MCU_RGMII1_TD1 */ 1098c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 0) /* (M5) MCU_RGMII1_TD0 */ 1108c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 0) /* (L2) MCU_RGMII1_RD3 */ 1118c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x007c, PIN_INPUT, 0) /* (L5) MCU_RGMII1_RD2 */ 1128c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* (M6) MCU_RGMII1_RD1 */ 1138c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* (L6) MCU_RGMII1_RD0 */ 1148c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* (N1) MCU_RGMII1_TXC */ 1158c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 0) /* (M1) MCU_RGMII1_RXC */ 1168c2ecf20Sopenharmony_ci >; 1178c2ecf20Sopenharmony_ci }; 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ci mcu_mdio_pins_default: mcu-mdio1-pins-default { 1208c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1218c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ 1228c2ecf20Sopenharmony_ci AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ 1238c2ecf20Sopenharmony_ci >; 1248c2ecf20Sopenharmony_ci }; 1258c2ecf20Sopenharmony_ci}; 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci&main_pmx0 { 1288c2ecf20Sopenharmony_ci main_uart0_pins_default: main-uart0-pins-default { 1298c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1308c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01e4, PIN_INPUT, 0) /* (AF11) UART0_RXD */ 1318c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0) /* (AE11) UART0_TXD */ 1328c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01ec, PIN_INPUT, 0) /* (AG11) UART0_CTSn */ 1338c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0) /* (AD11) UART0_RTSn */ 1348c2ecf20Sopenharmony_ci >; 1358c2ecf20Sopenharmony_ci }; 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ci main_i2c2_pins_default: main-i2c2-pins-default { 1388c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1398c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) GPMC0_CSn3.I2C2_SCL */ 1408c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) GPMC0_CSn2.I2C2_SDA */ 1418c2ecf20Sopenharmony_ci >; 1428c2ecf20Sopenharmony_ci }; 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_ci main_spi0_pins_default: main-spi0-pins-default { 1458c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1468c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01c4, PIN_INPUT, 0) /* (AH13) SPI0_CLK */ 1478c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01c8, PIN_INPUT, 0) /* (AE13) SPI0_D0 */ 1488c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01cc, PIN_INPUT, 0) /* (AD13) SPI0_D1 */ 1498c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (AG13) SPI0_CS0 */ 1508c2ecf20Sopenharmony_ci >; 1518c2ecf20Sopenharmony_ci }; 1528c2ecf20Sopenharmony_ci 1538c2ecf20Sopenharmony_ci main_mmc0_pins_default: main-mmc0-pins-default { 1548c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1558c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ 1568c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ 1578c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ 1588c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ 1598c2ecf20Sopenharmony_ci AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ 1608c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ 1618c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ 1628c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ 1638c2ecf20Sopenharmony_ci AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ 1648c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ 1658c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ 1668c2ecf20Sopenharmony_ci AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ 1678c2ecf20Sopenharmony_ci >; 1688c2ecf20Sopenharmony_ci }; 1698c2ecf20Sopenharmony_ci 1708c2ecf20Sopenharmony_ci main_mmc1_pins_default: main-mmc1-pins-default { 1718c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1728c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */ 1738c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */ 1748c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */ 1758c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */ 1768c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */ 1778c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */ 1788c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */ 1798c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */ 1808c2ecf20Sopenharmony_ci >; 1818c2ecf20Sopenharmony_ci }; 1828c2ecf20Sopenharmony_ci 1838c2ecf20Sopenharmony_ci usb1_pins_default: usb1-pins-default { 1848c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1858c2ecf20Sopenharmony_ci AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ 1868c2ecf20Sopenharmony_ci >; 1878c2ecf20Sopenharmony_ci }; 1888c2ecf20Sopenharmony_ci}; 1898c2ecf20Sopenharmony_ci 1908c2ecf20Sopenharmony_ci&main_pmx1 { 1918c2ecf20Sopenharmony_ci main_i2c0_pins_default: main-i2c0-pins-default { 1928c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1938c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */ 1948c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */ 1958c2ecf20Sopenharmony_ci >; 1968c2ecf20Sopenharmony_ci }; 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ci main_i2c1_pins_default: main-i2c1-pins-default { 1998c2ecf20Sopenharmony_ci pinctrl-single,pins = < 2008c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */ 2018c2ecf20Sopenharmony_ci AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */ 2028c2ecf20Sopenharmony_ci >; 2038c2ecf20Sopenharmony_ci }; 2048c2ecf20Sopenharmony_ci 2058c2ecf20Sopenharmony_ci ecap0_pins_default: ecap0-pins-default { 2068c2ecf20Sopenharmony_ci pinctrl-single,pins = < 2078c2ecf20Sopenharmony_ci AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */ 2088c2ecf20Sopenharmony_ci >; 2098c2ecf20Sopenharmony_ci }; 2108c2ecf20Sopenharmony_ci}; 2118c2ecf20Sopenharmony_ci 2128c2ecf20Sopenharmony_ci&wkup_uart0 { 2138c2ecf20Sopenharmony_ci /* Wakeup UART is used by System firmware */ 2148c2ecf20Sopenharmony_ci status = "disabled"; 2158c2ecf20Sopenharmony_ci}; 2168c2ecf20Sopenharmony_ci 2178c2ecf20Sopenharmony_ci&main_uart0 { 2188c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2198c2ecf20Sopenharmony_ci pinctrl-0 = <&main_uart0_pins_default>; 2208c2ecf20Sopenharmony_ci power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; 2218c2ecf20Sopenharmony_ci}; 2228c2ecf20Sopenharmony_ci 2238c2ecf20Sopenharmony_ci&wkup_i2c0 { 2248c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2258c2ecf20Sopenharmony_ci pinctrl-0 = <&wkup_i2c0_pins_default>; 2268c2ecf20Sopenharmony_ci clock-frequency = <400000>; 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci pca9554: gpio@39 { 2298c2ecf20Sopenharmony_ci compatible = "nxp,pca9554"; 2308c2ecf20Sopenharmony_ci reg = <0x39>; 2318c2ecf20Sopenharmony_ci gpio-controller; 2328c2ecf20Sopenharmony_ci #gpio-cells = <2>; 2338c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2348c2ecf20Sopenharmony_ci pinctrl-0 = <&wkup_pca554_default>; 2358c2ecf20Sopenharmony_ci interrupt-parent = <&wkup_gpio0>; 2368c2ecf20Sopenharmony_ci interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 2378c2ecf20Sopenharmony_ci interrupt-controller; 2388c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 2398c2ecf20Sopenharmony_ci }; 2408c2ecf20Sopenharmony_ci}; 2418c2ecf20Sopenharmony_ci 2428c2ecf20Sopenharmony_ci&main_i2c0 { 2438c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2448c2ecf20Sopenharmony_ci pinctrl-0 = <&main_i2c0_pins_default>; 2458c2ecf20Sopenharmony_ci clock-frequency = <400000>; 2468c2ecf20Sopenharmony_ci 2478c2ecf20Sopenharmony_ci pca9555: gpio@21 { 2488c2ecf20Sopenharmony_ci compatible = "nxp,pca9555"; 2498c2ecf20Sopenharmony_ci reg = <0x21>; 2508c2ecf20Sopenharmony_ci gpio-controller; 2518c2ecf20Sopenharmony_ci #gpio-cells = <2>; 2528c2ecf20Sopenharmony_ci }; 2538c2ecf20Sopenharmony_ci}; 2548c2ecf20Sopenharmony_ci 2558c2ecf20Sopenharmony_ci&main_i2c1 { 2568c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2578c2ecf20Sopenharmony_ci pinctrl-0 = <&main_i2c1_pins_default>; 2588c2ecf20Sopenharmony_ci clock-frequency = <400000>; 2598c2ecf20Sopenharmony_ci 2608c2ecf20Sopenharmony_ci ov5640: camera@3c { 2618c2ecf20Sopenharmony_ci compatible = "ovti,ov5640"; 2628c2ecf20Sopenharmony_ci reg = <0x3c>; 2638c2ecf20Sopenharmony_ci 2648c2ecf20Sopenharmony_ci clocks = <&clk_ov5640_fixed>; 2658c2ecf20Sopenharmony_ci clock-names = "xclk"; 2668c2ecf20Sopenharmony_ci 2678c2ecf20Sopenharmony_ci port { 2688c2ecf20Sopenharmony_ci csi2_cam0: endpoint { 2698c2ecf20Sopenharmony_ci remote-endpoint = <&csi2_phy0>; 2708c2ecf20Sopenharmony_ci clock-lanes = <0>; 2718c2ecf20Sopenharmony_ci data-lanes = <1 2>; 2728c2ecf20Sopenharmony_ci }; 2738c2ecf20Sopenharmony_ci }; 2748c2ecf20Sopenharmony_ci }; 2758c2ecf20Sopenharmony_ci 2768c2ecf20Sopenharmony_ci}; 2778c2ecf20Sopenharmony_ci 2788c2ecf20Sopenharmony_ci&main_i2c2 { 2798c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2808c2ecf20Sopenharmony_ci pinctrl-0 = <&main_i2c2_pins_default>; 2818c2ecf20Sopenharmony_ci clock-frequency = <400000>; 2828c2ecf20Sopenharmony_ci}; 2838c2ecf20Sopenharmony_ci 2848c2ecf20Sopenharmony_ci&ecap0 { 2858c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2868c2ecf20Sopenharmony_ci pinctrl-0 = <&ecap0_pins_default>; 2878c2ecf20Sopenharmony_ci}; 2888c2ecf20Sopenharmony_ci 2898c2ecf20Sopenharmony_ci&main_spi0 { 2908c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2918c2ecf20Sopenharmony_ci pinctrl-0 = <&main_spi0_pins_default>; 2928c2ecf20Sopenharmony_ci #address-cells = <1>; 2938c2ecf20Sopenharmony_ci #size-cells= <0>; 2948c2ecf20Sopenharmony_ci ti,pindir-d0-out-d1-in = <1>; 2958c2ecf20Sopenharmony_ci 2968c2ecf20Sopenharmony_ci flash@0{ 2978c2ecf20Sopenharmony_ci compatible = "jedec,spi-nor"; 2988c2ecf20Sopenharmony_ci reg = <0x0>; 2998c2ecf20Sopenharmony_ci spi-tx-bus-width = <1>; 3008c2ecf20Sopenharmony_ci spi-rx-bus-width = <1>; 3018c2ecf20Sopenharmony_ci spi-max-frequency = <48000000>; 3028c2ecf20Sopenharmony_ci #address-cells = <1>; 3038c2ecf20Sopenharmony_ci #size-cells= <1>; 3048c2ecf20Sopenharmony_ci }; 3058c2ecf20Sopenharmony_ci}; 3068c2ecf20Sopenharmony_ci 3078c2ecf20Sopenharmony_ci&sdhci0 { 3088c2ecf20Sopenharmony_ci pinctrl-names = "default"; 3098c2ecf20Sopenharmony_ci pinctrl-0 = <&main_mmc0_pins_default>; 3108c2ecf20Sopenharmony_ci bus-width = <8>; 3118c2ecf20Sopenharmony_ci non-removable; 3128c2ecf20Sopenharmony_ci ti,driver-strength-ohm = <50>; 3138c2ecf20Sopenharmony_ci disable-wp; 3148c2ecf20Sopenharmony_ci}; 3158c2ecf20Sopenharmony_ci 3168c2ecf20Sopenharmony_ci/* 3178c2ecf20Sopenharmony_ci * Because of erratas i2025 and i2026 for silicon revision 1.0, the 3188c2ecf20Sopenharmony_ci * SD card interface might fail. Boards with sr1.0 are recommended to 3198c2ecf20Sopenharmony_ci * disable sdhci1 3208c2ecf20Sopenharmony_ci */ 3218c2ecf20Sopenharmony_ci&sdhci1 { 3228c2ecf20Sopenharmony_ci pinctrl-names = "default"; 3238c2ecf20Sopenharmony_ci pinctrl-0 = <&main_mmc1_pins_default>; 3248c2ecf20Sopenharmony_ci ti,driver-strength-ohm = <50>; 3258c2ecf20Sopenharmony_ci disable-wp; 3268c2ecf20Sopenharmony_ci}; 3278c2ecf20Sopenharmony_ci 3288c2ecf20Sopenharmony_ci&dwc3_1 { 3298c2ecf20Sopenharmony_ci status = "okay"; 3308c2ecf20Sopenharmony_ci}; 3318c2ecf20Sopenharmony_ci 3328c2ecf20Sopenharmony_ci&usb1_phy { 3338c2ecf20Sopenharmony_ci status = "okay"; 3348c2ecf20Sopenharmony_ci}; 3358c2ecf20Sopenharmony_ci 3368c2ecf20Sopenharmony_ci&usb1 { 3378c2ecf20Sopenharmony_ci pinctrl-names = "default"; 3388c2ecf20Sopenharmony_ci pinctrl-0 = <&usb1_pins_default>; 3398c2ecf20Sopenharmony_ci dr_mode = "otg"; 3408c2ecf20Sopenharmony_ci}; 3418c2ecf20Sopenharmony_ci 3428c2ecf20Sopenharmony_ci&dwc3_0 { 3438c2ecf20Sopenharmony_ci status = "disabled"; 3448c2ecf20Sopenharmony_ci}; 3458c2ecf20Sopenharmony_ci 3468c2ecf20Sopenharmony_ci&usb0_phy { 3478c2ecf20Sopenharmony_ci status = "disabled"; 3488c2ecf20Sopenharmony_ci}; 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ci&tscadc0 { 3518c2ecf20Sopenharmony_ci adc { 3528c2ecf20Sopenharmony_ci ti,adc-channels = <0 1 2 3 4 5 6 7>; 3538c2ecf20Sopenharmony_ci }; 3548c2ecf20Sopenharmony_ci}; 3558c2ecf20Sopenharmony_ci 3568c2ecf20Sopenharmony_ci&tscadc1 { 3578c2ecf20Sopenharmony_ci adc { 3588c2ecf20Sopenharmony_ci ti,adc-channels = <0 1 2 3 4 5 6 7>; 3598c2ecf20Sopenharmony_ci }; 3608c2ecf20Sopenharmony_ci}; 3618c2ecf20Sopenharmony_ci 3628c2ecf20Sopenharmony_ci&serdes0 { 3638c2ecf20Sopenharmony_ci status = "disabled"; 3648c2ecf20Sopenharmony_ci}; 3658c2ecf20Sopenharmony_ci 3668c2ecf20Sopenharmony_ci&serdes1 { 3678c2ecf20Sopenharmony_ci status = "disabled"; 3688c2ecf20Sopenharmony_ci}; 3698c2ecf20Sopenharmony_ci 3708c2ecf20Sopenharmony_ci&pcie0_rc { 3718c2ecf20Sopenharmony_ci status = "disabled"; 3728c2ecf20Sopenharmony_ci}; 3738c2ecf20Sopenharmony_ci 3748c2ecf20Sopenharmony_ci&pcie0_ep { 3758c2ecf20Sopenharmony_ci status = "disabled"; 3768c2ecf20Sopenharmony_ci}; 3778c2ecf20Sopenharmony_ci 3788c2ecf20Sopenharmony_ci&pcie1_rc { 3798c2ecf20Sopenharmony_ci status = "disabled"; 3808c2ecf20Sopenharmony_ci}; 3818c2ecf20Sopenharmony_ci 3828c2ecf20Sopenharmony_ci&pcie1_ep { 3838c2ecf20Sopenharmony_ci status = "disabled"; 3848c2ecf20Sopenharmony_ci}; 3858c2ecf20Sopenharmony_ci 3868c2ecf20Sopenharmony_ci&mailbox0_cluster0 { 3878c2ecf20Sopenharmony_ci interrupts = <436>; 3888c2ecf20Sopenharmony_ci 3898c2ecf20Sopenharmony_ci mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 3908c2ecf20Sopenharmony_ci ti,mbox-tx = <1 0 0>; 3918c2ecf20Sopenharmony_ci ti,mbox-rx = <0 0 0>; 3928c2ecf20Sopenharmony_ci }; 3938c2ecf20Sopenharmony_ci}; 3948c2ecf20Sopenharmony_ci 3958c2ecf20Sopenharmony_ci&mailbox0_cluster1 { 3968c2ecf20Sopenharmony_ci interrupts = <432>; 3978c2ecf20Sopenharmony_ci 3988c2ecf20Sopenharmony_ci mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { 3998c2ecf20Sopenharmony_ci ti,mbox-tx = <1 0 0>; 4008c2ecf20Sopenharmony_ci ti,mbox-rx = <0 0 0>; 4018c2ecf20Sopenharmony_ci }; 4028c2ecf20Sopenharmony_ci}; 4038c2ecf20Sopenharmony_ci 4048c2ecf20Sopenharmony_ci&mailbox0_cluster2 { 4058c2ecf20Sopenharmony_ci status = "disabled"; 4068c2ecf20Sopenharmony_ci}; 4078c2ecf20Sopenharmony_ci 4088c2ecf20Sopenharmony_ci&mailbox0_cluster3 { 4098c2ecf20Sopenharmony_ci status = "disabled"; 4108c2ecf20Sopenharmony_ci}; 4118c2ecf20Sopenharmony_ci 4128c2ecf20Sopenharmony_ci&mailbox0_cluster4 { 4138c2ecf20Sopenharmony_ci status = "disabled"; 4148c2ecf20Sopenharmony_ci}; 4158c2ecf20Sopenharmony_ci 4168c2ecf20Sopenharmony_ci&mailbox0_cluster5 { 4178c2ecf20Sopenharmony_ci status = "disabled"; 4188c2ecf20Sopenharmony_ci}; 4198c2ecf20Sopenharmony_ci 4208c2ecf20Sopenharmony_ci&mailbox0_cluster6 { 4218c2ecf20Sopenharmony_ci status = "disabled"; 4228c2ecf20Sopenharmony_ci}; 4238c2ecf20Sopenharmony_ci 4248c2ecf20Sopenharmony_ci&mailbox0_cluster7 { 4258c2ecf20Sopenharmony_ci status = "disabled"; 4268c2ecf20Sopenharmony_ci}; 4278c2ecf20Sopenharmony_ci 4288c2ecf20Sopenharmony_ci&mailbox0_cluster8 { 4298c2ecf20Sopenharmony_ci status = "disabled"; 4308c2ecf20Sopenharmony_ci}; 4318c2ecf20Sopenharmony_ci 4328c2ecf20Sopenharmony_ci&mailbox0_cluster9 { 4338c2ecf20Sopenharmony_ci status = "disabled"; 4348c2ecf20Sopenharmony_ci}; 4358c2ecf20Sopenharmony_ci 4368c2ecf20Sopenharmony_ci&mailbox0_cluster10 { 4378c2ecf20Sopenharmony_ci status = "disabled"; 4388c2ecf20Sopenharmony_ci}; 4398c2ecf20Sopenharmony_ci 4408c2ecf20Sopenharmony_ci&mailbox0_cluster11 { 4418c2ecf20Sopenharmony_ci status = "disabled"; 4428c2ecf20Sopenharmony_ci}; 4438c2ecf20Sopenharmony_ci 4448c2ecf20Sopenharmony_ci&ospi0 { 4458c2ecf20Sopenharmony_ci pinctrl-names = "default"; 4468c2ecf20Sopenharmony_ci pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; 4478c2ecf20Sopenharmony_ci 4488c2ecf20Sopenharmony_ci flash@0{ 4498c2ecf20Sopenharmony_ci compatible = "jedec,spi-nor"; 4508c2ecf20Sopenharmony_ci reg = <0x0>; 4518c2ecf20Sopenharmony_ci spi-tx-bus-width = <1>; 4528c2ecf20Sopenharmony_ci spi-rx-bus-width = <8>; 4538c2ecf20Sopenharmony_ci spi-max-frequency = <40000000>; 4548c2ecf20Sopenharmony_ci cdns,tshsl-ns = <60>; 4558c2ecf20Sopenharmony_ci cdns,tsd2d-ns = <60>; 4568c2ecf20Sopenharmony_ci cdns,tchsh-ns = <60>; 4578c2ecf20Sopenharmony_ci cdns,tslch-ns = <60>; 4588c2ecf20Sopenharmony_ci cdns,read-delay = <0>; 4598c2ecf20Sopenharmony_ci #address-cells = <1>; 4608c2ecf20Sopenharmony_ci #size-cells = <1>; 4618c2ecf20Sopenharmony_ci }; 4628c2ecf20Sopenharmony_ci}; 4638c2ecf20Sopenharmony_ci 4648c2ecf20Sopenharmony_ci&csi2_0 { 4658c2ecf20Sopenharmony_ci csi2_phy0: endpoint { 4668c2ecf20Sopenharmony_ci remote-endpoint = <&csi2_cam0>; 4678c2ecf20Sopenharmony_ci clock-lanes = <0>; 4688c2ecf20Sopenharmony_ci data-lanes = <1 2>; 4698c2ecf20Sopenharmony_ci }; 4708c2ecf20Sopenharmony_ci}; 4718c2ecf20Sopenharmony_ci 4728c2ecf20Sopenharmony_ci&mcu_cpsw { 4738c2ecf20Sopenharmony_ci pinctrl-names = "default"; 4748c2ecf20Sopenharmony_ci pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 4758c2ecf20Sopenharmony_ci}; 4768c2ecf20Sopenharmony_ci 4778c2ecf20Sopenharmony_ci&davinci_mdio { 4788c2ecf20Sopenharmony_ci phy0: ethernet-phy@0 { 4798c2ecf20Sopenharmony_ci reg = <0>; 4808c2ecf20Sopenharmony_ci ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 4818c2ecf20Sopenharmony_ci ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 4828c2ecf20Sopenharmony_ci }; 4838c2ecf20Sopenharmony_ci}; 4848c2ecf20Sopenharmony_ci 4858c2ecf20Sopenharmony_ci&cpsw_port1 { 4868c2ecf20Sopenharmony_ci phy-mode = "rgmii-rxid"; 4878c2ecf20Sopenharmony_ci phy-handle = <&phy0>; 4888c2ecf20Sopenharmony_ci}; 489