0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
0004 */
0005
0006 /*
0007 * VScom OnRISC
0008 * http://www.vscom.de
0009 */
0010
0011 /dts-v1/;
0012
0013 #include "am335x-baltos.dtsi"
0014 #include "am335x-baltos-leds.dtsi"
0015
0016 / {
0017 model = "OnRISC Baltos iR 2110";
0018 };
0019
0020 &am33xx_pinmux {
0021 uart1_pins: pinmux_uart1_pins {
0022 pinctrl-single,pins = <
0023 AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0)
0024 AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0)
0025 AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0)
0026 AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
0027 AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */
0028 AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_hsync.gpio2[23] DSR */
0029 AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_pclk.gpio2[24] DCD */
0030 AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_ac_bias_en.gpio2[25] RI */
0031 >;
0032 };
0033
0034 mmc1_pins: pinmux_mmc1_pins {
0035 pinctrl-single,pins = <
0036 AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT, MUX_MODE7) /* MMC1 CD */
0037 >;
0038 };
0039 };
0040
0041 &uart1 {
0042 pinctrl-names = "default";
0043 pinctrl-0 = <&uart1_pins>;
0044 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
0045 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
0046 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
0047 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
0048
0049 status = "okay";
0050 };
0051
0052 &usb0_phy {
0053 status = "okay";
0054 };
0055
0056 &usb0 {
0057 status = "okay";
0058 dr_mode = "host";
0059 };
0060
0061 &davinci_mdio_sw {
0062 phy0: ethernet-phy@0 {
0063 reg = <1>;
0064 };
0065 };
0066
0067 &cpsw_port1 {
0068 phy-mode = "rmii";
0069 ti,dual-emac-pvid = <1>;
0070 phy-handle = <&phy0>;
0071 };
0072
0073 &cpsw_port2 {
0074 phy-mode = "rgmii-id";
0075 ti,dual-emac-pvid = <2>;
0076 phy-handle = <&phy1>;
0077 };
0078
0079 &mmc1 {
0080 pinctrl-names = "default";
0081 pinctrl-0 = <&mmc1_pins>;
0082 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
0083 };