1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/* 7724ba675SRob Herring * VScom OnRISC 8*9f2967e4SNishanth Menon * https://www.vscom.de 9724ba675SRob Herring */ 10724ba675SRob Herring 11724ba675SRob Herring/dts-v1/; 12724ba675SRob Herring 13724ba675SRob Herring#include "am335x-baltos.dtsi" 14724ba675SRob Herring#include "am335x-baltos-leds.dtsi" 15724ba675SRob Herring 16724ba675SRob Herring/ { 17724ba675SRob Herring model = "NetCom Plus"; 18724ba675SRob Herring}; 19724ba675SRob Herring 20724ba675SRob Herring&am33xx_pinmux { 21724ba675SRob Herring uart1_pins: uart1-pins { 22724ba675SRob Herring pinctrl-single,pins = < 23724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0) /* RX */ 24724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0) /* TX */ 25724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0) /* CTS */ 26724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* RTS */ 27724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */ 28724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DSR */ 29724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DCD */ 30724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* RI */ 31724ba675SRob Herring >; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring uart2_pins: uart2-pins { 35724ba675SRob Herring pinctrl-single,pins = < 36724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* RX */ 37724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* TX */ 38724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLDOWN, MUX_MODE2) /* CTS */ 39724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* RTS */ 40724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */ 41724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DSR */ 42724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DCD */ 43724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7) /* RI */ 44724ba675SRob Herring >; 45724ba675SRob Herring }; 46724ba675SRob Herring}; 47724ba675SRob Herring 48724ba675SRob Herring&usb0_phy { 49724ba675SRob Herring status = "okay"; 50724ba675SRob Herring}; 51724ba675SRob Herring 52724ba675SRob Herring&usb0 { 53724ba675SRob Herring status = "okay"; 54724ba675SRob Herring dr_mode = "host"; 55724ba675SRob Herring}; 56724ba675SRob Herring 57724ba675SRob Herring&uart1 { 58724ba675SRob Herring pinctrl-names = "default"; 59724ba675SRob Herring pinctrl-0 = <&uart1_pins>; 60724ba675SRob Herring dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; 61724ba675SRob Herring dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 62724ba675SRob Herring dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; 63724ba675SRob Herring rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; 64724ba675SRob Herring 65724ba675SRob Herring status = "okay"; 66724ba675SRob Herring}; 67724ba675SRob Herring 68724ba675SRob Herring&uart2 { 69724ba675SRob Herring pinctrl-names = "default"; 70724ba675SRob Herring pinctrl-0 = <&uart2_pins>; 71724ba675SRob Herring dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 72724ba675SRob Herring dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 73724ba675SRob Herring dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 74724ba675SRob Herring rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 75724ba675SRob Herring 76724ba675SRob Herring status = "okay"; 77724ba675SRob Herring}; 78724ba675SRob Herring 79724ba675SRob Herring&davinci_mdio_sw { 80724ba675SRob Herring phy0: ethernet-phy@0 { 81724ba675SRob Herring reg = <1>; 82724ba675SRob Herring }; 83724ba675SRob Herring}; 84724ba675SRob Herring 85724ba675SRob Herring&cpsw_port1 { 86724ba675SRob Herring phy-mode = "rmii"; 87724ba675SRob Herring ti,dual-emac-pvid = <1>; 88724ba675SRob Herring phy-handle = <&phy0>; 89724ba675SRob Herring}; 90724ba675SRob Herring 91724ba675SRob Herring&cpsw_port2 { 92724ba675SRob Herring phy-mode = "rgmii-id"; 93724ba675SRob Herring ti,dual-emac-pvid = <2>; 94724ba675SRob Herring phy-handle = <&phy1>; 95724ba675SRob Herring}; 96724ba675SRob Herring 97724ba675SRob Herring&gpio0 { 98724ba675SRob Herring gpio-line-names = 99724ba675SRob Herring "MDIO", 100724ba675SRob Herring "MDC", 101724ba675SRob Herring "UART2_RX", 102724ba675SRob Herring "UART2_TX", 103724ba675SRob Herring "I2C1_SDA", 104724ba675SRob Herring "I2C1_SCL", 105724ba675SRob Herring "NC", 106724ba675SRob Herring "NC", 107724ba675SRob Herring "NC", 108724ba675SRob Herring "NC", 109724ba675SRob Herring "NC", 110724ba675SRob Herring "NC", 111724ba675SRob Herring "UART1_CTSN", 112724ba675SRob Herring "UART1_RTSN", 113724ba675SRob Herring "UART1_RX", 114724ba675SRob Herring "UART1_TX", 115724ba675SRob Herring "onrisc:blue:wlan", 116724ba675SRob Herring "onrisc:green:app", 117724ba675SRob Herring "USB0_DRVVBUS", 118724ba675SRob Herring "ETH2_INT", 119724ba675SRob Herring "NC", 120724ba675SRob Herring "NC", 121724ba675SRob Herring "MMC1_DAT0", 122724ba675SRob Herring "MMC1_DAT1", 123724ba675SRob Herring "NC", 124724ba675SRob Herring "NC", 125724ba675SRob Herring "MMC1_DAT2", 126724ba675SRob Herring "MMC1_DAT3", 127724ba675SRob Herring "NC", 128724ba675SRob Herring "NC", 129724ba675SRob Herring "GPMC_WAIT0", 130724ba675SRob Herring "GPMC_WP_N"; 131724ba675SRob Herring}; 132724ba675SRob Herring 133724ba675SRob Herring&gpio1 { 134724ba675SRob Herring gpio-line-names = 135724ba675SRob Herring "GPMC_AD0", 136724ba675SRob Herring "GPMC_AD1", 137724ba675SRob Herring "GPMC_AD2", 138724ba675SRob Herring "GPMC_AD3", 139724ba675SRob Herring "GPMC_AD4", 140724ba675SRob Herring "GPMC_AD5", 141724ba675SRob Herring "GPMC_AD6", 142724ba675SRob Herring "GPMC_AD7", 143724ba675SRob Herring "NC", 144724ba675SRob Herring "NC", 145724ba675SRob Herring "CONSOLE_RX", 146724ba675SRob Herring "CONSOLE_TX", 147724ba675SRob Herring "UART2_DTR", 148724ba675SRob Herring "UART2_DSR", 149724ba675SRob Herring "UART2_DCD", 150724ba675SRob Herring "UART2_RI", 151724ba675SRob Herring "RGMII2_TCTL", 152724ba675SRob Herring "RGMII2_RCTL", 153724ba675SRob Herring "RGMII2_TD3", 154724ba675SRob Herring "RGMII2_TD2", 155724ba675SRob Herring "RGMII2_TD1", 156724ba675SRob Herring "RGMII2_TD0", 157724ba675SRob Herring "RGMII2_TCLK", 158724ba675SRob Herring "RGMII2_RCLK", 159724ba675SRob Herring "RGMII2_RD3", 160724ba675SRob Herring "RGMII2_RD2", 161724ba675SRob Herring "RGMII2_RD1", 162724ba675SRob Herring "RGMII2_RD0", 163724ba675SRob Herring "PMIC_INT1", 164724ba675SRob Herring "GPMC_CSN0_Flash", 165724ba675SRob Herring "MMC1_CLK", 166724ba675SRob Herring "MMC1_CMD"; 167724ba675SRob Herring}; 168724ba675SRob Herring 169724ba675SRob Herring&gpio2 { 170724ba675SRob Herring gpio-line-names = 171724ba675SRob Herring "GPMC_CSN3_BUS", 172724ba675SRob Herring "GPMC_CLK", 173724ba675SRob Herring "GPMC_ADVN_ALE", 174724ba675SRob Herring "GPMC_OEN_RE_N", 175724ba675SRob Herring "GPMC_WE_N", 176724ba675SRob Herring "GPMC_BEN0_CLE", 177724ba675SRob Herring "NC", 178724ba675SRob Herring "NC", 179724ba675SRob Herring "NC", 180724ba675SRob Herring "NC", 181724ba675SRob Herring "NC", 182724ba675SRob Herring "NC", 183724ba675SRob Herring "NC", 184724ba675SRob Herring "NC", 185724ba675SRob Herring "NC", 186724ba675SRob Herring "NC", 187724ba675SRob Herring "NC", 188724ba675SRob Herring "NC", 189724ba675SRob Herring "SW2_0", 190724ba675SRob Herring "SW2_1", 191724ba675SRob Herring "NC", 192724ba675SRob Herring "NC", 193724ba675SRob Herring "UART1_DTR", 194724ba675SRob Herring "UART1_DSR", 195724ba675SRob Herring "UART1_DCD", 196724ba675SRob Herring "UART1_RI", 197724ba675SRob Herring "MMC0_DAT3", 198724ba675SRob Herring "MMC0_DAT2", 199724ba675SRob Herring "MMC0_DAT1", 200724ba675SRob Herring "MMC0_DAT0", 201724ba675SRob Herring "MMC0_CLK", 202724ba675SRob Herring "MMC0_CMD"; 203724ba675SRob Herring}; 204724ba675SRob Herring 205724ba675SRob Herring&gpio3 { 206724ba675SRob Herring gpio-line-names = 207724ba675SRob Herring "onrisc:red:power", 208724ba675SRob Herring "NC", 209724ba675SRob Herring "NC", 210724ba675SRob Herring "NC", 211724ba675SRob Herring "NC", 212724ba675SRob Herring "UART2_CTSN", 213724ba675SRob Herring "UART2_RTSN", 214724ba675SRob Herring "WLAN_IRQ", 215724ba675SRob Herring "WLAN_EN", 216724ba675SRob Herring "SW2_2", 217724ba675SRob Herring "SW2_3", 218724ba675SRob Herring "NC", 219724ba675SRob Herring "NC", 220724ba675SRob Herring "NC", 221724ba675SRob Herring "ModeA0", 222724ba675SRob Herring "ModeA1", 223724ba675SRob Herring "ModeA2", 224724ba675SRob Herring "ModeA3", 225724ba675SRob Herring "NC", 226724ba675SRob Herring "NC", 227724ba675SRob Herring "NC", 228724ba675SRob Herring "NC", 229724ba675SRob Herring "NC", 230724ba675SRob Herring "NC", 231724ba675SRob Herring "NC", 232724ba675SRob Herring "NC", 233724ba675SRob Herring "NC", 234724ba675SRob Herring "NC", 235724ba675SRob Herring "NC", 236724ba675SRob Herring "NC", 237724ba675SRob Herring "NC", 238724ba675SRob Herring "NC"; 239724ba675SRob Herring}; 240