1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
13 #include "am335x-baltos.dtsi"
16 model = "NetCom Plus";
20 pinctrl-names = "default";
21 pinctrl-0 = <&dip_switches>;
23 dip_switches: pinmux_dip_switches {
24 pinctrl-single,pins = <
25 AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLDOWN, MUX_MODE7)
26 AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7)
27 AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7)
28 AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7)
32 tca6416_pins: pinmux_tca6416_pins {
33 pinctrl-single,pins = <
34 AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_INPUT_PULLUP, MUX_MODE7)
38 i2c2_pins: pinmux_i2c2_pins {
39 pinctrl-single,pins = <
40 AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE3)
41 AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLDOWN, MUX_MODE3)
66 compatible = "ti,tca6416";
70 interrupt-parent = <&gpio0>;
71 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&tca6416_pins>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&i2c2_pins>;
82 clock-frequency = <400000>;
85 compatible = "ti,tca6416";
92 compatible = "ti,tca6416";
100 phy0: ethernet-phy@0 {
107 dual_emac_res_vlan = <1>;
108 phy-handle = <&phy0>;
112 phy-mode = "rgmii-id";
113 dual_emac_res_vlan = <2>;
114 phy-handle = <&phy1>;