18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Common support for omap3 EVM 35xx/37xx processor modules 38c2ecf20Sopenharmony_ci */ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/ { 68c2ecf20Sopenharmony_ci memory@80000000 { 78c2ecf20Sopenharmony_ci device_type = "memory"; 88c2ecf20Sopenharmony_ci reg = <0x80000000 0x10000000>; /* 256 MB */ 98c2ecf20Sopenharmony_ci }; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci wl12xx_vmmc: wl12xx_vmmc { 128c2ecf20Sopenharmony_ci pinctrl-names = "default"; 138c2ecf20Sopenharmony_ci pinctrl-0 = <&wl12xx_gpio>; 148c2ecf20Sopenharmony_ci }; 158c2ecf20Sopenharmony_ci}; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci&dss { 188c2ecf20Sopenharmony_ci vdds_dsi-supply = <&vpll2>; 198c2ecf20Sopenharmony_ci vdda_video-supply = <&lcd_3v3>; 208c2ecf20Sopenharmony_ci pinctrl-names = "default"; 218c2ecf20Sopenharmony_ci pinctrl-0 = < 228c2ecf20Sopenharmony_ci &dss_dpi_pins1 238c2ecf20Sopenharmony_ci &dss_dpi_pins2 248c2ecf20Sopenharmony_ci >; 258c2ecf20Sopenharmony_ci}; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci&hsusb2_phy { 288c2ecf20Sopenharmony_ci pinctrl-names = "default"; 298c2ecf20Sopenharmony_ci pinctrl-0 = <&ehci_phy_pins>; 308c2ecf20Sopenharmony_ci}; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci&omap3_pmx_core { 338c2ecf20Sopenharmony_ci pinctrl-names = "default"; 348c2ecf20Sopenharmony_ci pinctrl-0 = <&on_board_gpio_61 &hsusb2_pins>; 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci dss_dpi_pins1: pinmux_dss_dpi_pins2 { 378c2ecf20Sopenharmony_ci pinctrl-single,pins = < 388c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ 398c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ 408c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ 418c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ 448c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ 458c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ 468c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ 478c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ 488c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ 498c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ 508c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ 518c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ 528c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ 538c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ 548c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE3) /* dss_data18.dss_data0 */ 578c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE3) /* dss_data19.dss_data1 */ 588c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE3) /* dss_data20.dss_data2 */ 598c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE3) /* dss_data21.dss_data3 */ 608c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE3) /* dss_data22.dss_data4 */ 618c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE3) /* dss_data23.dss_data5 */ 628c2ecf20Sopenharmony_ci >; 638c2ecf20Sopenharmony_ci }; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci mmc1_pins: pinmux_mmc1_pins { 668c2ecf20Sopenharmony_ci pinctrl-single,pins = < 678c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ 688c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ 698c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ 708c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ 718c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ 728c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ 738c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2150, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat4.sdmmc1_dat4 */ 748c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2152, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat5.sdmmc1_dat5 */ 758c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2154, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat6.sdmmc1_dat6 */ 768c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2156, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat7.sdmmc1_dat7 */ 778c2ecf20Sopenharmony_ci >; 788c2ecf20Sopenharmony_ci }; 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ci /* NOTE: Clocked externally, needs INPUT also for sdmmc2_clk.sdmmc2_clk */ 818c2ecf20Sopenharmony_ci mmc2_pins: pinmux_mmc2_pins { 828c2ecf20Sopenharmony_ci pinctrl-single,pins = < 838c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ 848c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ 858c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ 868c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ 878c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ 888c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ 898c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2164, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat4.sdmmc2_dir_dat0 */ 908c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat5.sdmmc2_dir_dat1 */ 918c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat6.sdmmc2_dir_cmd */ 928c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT | MUX_MODE1) /* sdmmc2_dat7.sdmmc2_clkin */ 938c2ecf20Sopenharmony_ci >; 948c2ecf20Sopenharmony_ci }; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci uart3_pins: pinmux_uart3_pins { 978c2ecf20Sopenharmony_ci pinctrl-single,pins = < 988c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x219e, WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ 998c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ 1008c2ecf20Sopenharmony_ci >; 1018c2ecf20Sopenharmony_ci }; 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci /* Devices are routed with gpmc_nbe1.gpio_61 to on-board devices */ 1048c2ecf20Sopenharmony_ci on_board_gpio_61: pinmux_ehci_port_select_pins { 1058c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1068c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x20c8, PIN_OUTPUT | MUX_MODE4) 1078c2ecf20Sopenharmony_ci >; 1088c2ecf20Sopenharmony_ci }; 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ci /* Used by OHCI and EHCI. OHCI won't work without external phy */ 1118c2ecf20Sopenharmony_ci hsusb2_pins: pinmux_hsusb2_pins { 1128c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ci /* mcspi1_cs3.hsusb2_data2 */ 1158c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ci /* mcspi2_clk.hsusb2_data7 */ 1188c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ci /* mcspi2_simo.hsusb2_data4 */ 1218c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ci /* mcspi2_somi.hsusb2_data5 */ 1248c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) 1258c2ecf20Sopenharmony_ci 1268c2ecf20Sopenharmony_ci /* mcspi2_cs0.hsusb2_data6 */ 1278c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) 1288c2ecf20Sopenharmony_ci 1298c2ecf20Sopenharmony_ci /* mcspi2_cs1.hsusb2_data3 */ 1308c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) 1318c2ecf20Sopenharmony_ci >; 1328c2ecf20Sopenharmony_ci }; 1338c2ecf20Sopenharmony_ci 1348c2ecf20Sopenharmony_ci /* 1358c2ecf20Sopenharmony_ci * Note that gpio_150 pulled high with internal pull to prevent wlcore 1368c2ecf20Sopenharmony_ci * reset on return from off mode in idle. 1378c2ecf20Sopenharmony_ci */ 1388c2ecf20Sopenharmony_ci wl12xx_gpio: pinmux_wl12xx_gpio { 1398c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1408c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_cts.gpio_150 */ 1418c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x217e, PIN_INPUT | MUX_MODE4) /* uart1_rts.gpio_149 */ 1428c2ecf20Sopenharmony_ci >; 1438c2ecf20Sopenharmony_ci }; 1448c2ecf20Sopenharmony_ci 1458c2ecf20Sopenharmony_ci smsc911x_pins: pinmux_smsc911x_pins { 1468c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1478c2ecf20Sopenharmony_ci OMAP3_CORE1_IOPAD(0x21d2, PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */ 1488c2ecf20Sopenharmony_ci >; 1498c2ecf20Sopenharmony_ci }; 1508c2ecf20Sopenharmony_ci}; 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ci&omap3_pmx_wkup { 1538c2ecf20Sopenharmony_ci dss_dpi_pins2: pinmux_dss_dpi_pins1 { 1548c2ecf20Sopenharmony_ci pinctrl-single,pins = < 1558c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a0a, PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */ 1568c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */ 1578c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a10, PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */ 1588c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */ 1598c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a14, PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */ 1608c2ecf20Sopenharmony_ci OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */ 1618c2ecf20Sopenharmony_ci >; 1628c2ecf20Sopenharmony_ci }; 1638c2ecf20Sopenharmony_ci}; 1648c2ecf20Sopenharmony_ci 1658c2ecf20Sopenharmony_ci&mmc1 { 1668c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1678c2ecf20Sopenharmony_ci pinctrl-0 = <&mmc1_pins>; 1688c2ecf20Sopenharmony_ci}; 1698c2ecf20Sopenharmony_ci 1708c2ecf20Sopenharmony_ci&mmc2 { 1718c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1728c2ecf20Sopenharmony_ci pinctrl-0 = <&mmc2_pins>; 1738c2ecf20Sopenharmony_ci}; 1748c2ecf20Sopenharmony_ci 1758c2ecf20Sopenharmony_ci&mmc3 { 1768c2ecf20Sopenharmony_ci status = "disabled"; 1778c2ecf20Sopenharmony_ci}; 1788c2ecf20Sopenharmony_ci 1798c2ecf20Sopenharmony_ci&uart1 { 1808c2ecf20Sopenharmony_ci interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>; 1818c2ecf20Sopenharmony_ci}; 1828c2ecf20Sopenharmony_ci 1838c2ecf20Sopenharmony_ci&uart2 { 1848c2ecf20Sopenharmony_ci interrupts-extended = <&intc 73 &omap3_pmx_core OMAP3_UART2_RX>; 1858c2ecf20Sopenharmony_ci}; 1868c2ecf20Sopenharmony_ci 1878c2ecf20Sopenharmony_ci&uart3 { 1888c2ecf20Sopenharmony_ci interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>; 1898c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1908c2ecf20Sopenharmony_ci pinctrl-0 = <&uart3_pins>; 1918c2ecf20Sopenharmony_ci}; 1928c2ecf20Sopenharmony_ci 1938c2ecf20Sopenharmony_ci/* 1948c2ecf20Sopenharmony_ci * GPIO_61 (nUSB2_EN_1V8) must be low to enable on-board EHCI USB2 interface 1958c2ecf20Sopenharmony_ci * for bus switch SN74CB3Q3384A, level-shifter SN74AVC16T245DGGR, and 1.8V. 1968c2ecf20Sopenharmony_ci */ 1978c2ecf20Sopenharmony_ci&gpio2 { 1988c2ecf20Sopenharmony_ci en_usb2_port { 1998c2ecf20Sopenharmony_ci gpio-hog; 2008c2ecf20Sopenharmony_ci gpios = <29 GPIO_ACTIVE_HIGH>; /* gpio_61 */ 2018c2ecf20Sopenharmony_ci output-low; 2028c2ecf20Sopenharmony_ci line-name = "enable usb2 port"; 2038c2ecf20Sopenharmony_ci }; 2048c2ecf20Sopenharmony_ci}; 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ci/* T2_GPIO_2 low to route GPIO_61 to on-board devices */ 2078c2ecf20Sopenharmony_ci&twl_gpio { 2088c2ecf20Sopenharmony_ci en_on_board_gpio_61 { 2098c2ecf20Sopenharmony_ci gpio-hog; 2108c2ecf20Sopenharmony_ci gpios = <2 GPIO_ACTIVE_HIGH>; 2118c2ecf20Sopenharmony_ci output-low; 2128c2ecf20Sopenharmony_ci line-name = "en_hsusb2_clk"; 2138c2ecf20Sopenharmony_ci }; 2148c2ecf20Sopenharmony_ci}; 2158c2ecf20Sopenharmony_ci 2168c2ecf20Sopenharmony_ci&gpmc { 2178c2ecf20Sopenharmony_ci ranges = <0 0 0x30000000 0x1000000>, /* CS0: 16MB for NAND */ 2188c2ecf20Sopenharmony_ci <5 0 0x2c000000 0x01000000>; /* CS5: 16MB for LAN9220 */ 2198c2ecf20Sopenharmony_ci 2208c2ecf20Sopenharmony_ci ethernet@gpmc { 2218c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2228c2ecf20Sopenharmony_ci pinctrl-0 = <&smsc911x_pins>; 2238c2ecf20Sopenharmony_ci }; 2248c2ecf20Sopenharmony_ci}; 225