Linux 5.6.13
[linux/fpc-iii.git] / arch / arm / boot / dts / am335x-netcom-plus-8xx.dts
blob2298563f7334f1319d243a644283bfbaa2bce7a7
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4  */
6 /*
7  * VScom OnRISC
8  * http://www.vscom.de
9  */
11 /dts-v1/;
13 #include "am335x-baltos.dtsi"
15 / {
16         model = "NetCom Plus";
19 &am33xx_pinmux {
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)
29                 >;
30         };
32         tca6416_pins: pinmux_tca6416_pins {
33                 pinctrl-single,pins = <
34                         AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_INPUT_PULLUP, MUX_MODE7)
35                 >;
36         };
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)
42                 >;
43         };
46 &usb0_phy {
47         status = "okay";
50 &usb1_phy {
51         status = "okay";
54 &usb0 {
55         status = "okay";
56         dr_mode = "host";
59 &usb1 {
60         status = "okay";
61         dr_mode = "host";
64 &i2c1 {
65         tca6416a: gpio@20 {
66                 compatible = "ti,tca6416";
67                 reg = <0x20>;
68                 gpio-controller;
69                 #gpio-cells = <2>;
70                 interrupt-parent = <&gpio0>;
71                 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
72                 pinctrl-names = "default";
73                 pinctrl-0 = <&tca6416_pins>;
74         };
77 &i2c2 {
78         pinctrl-names = "default";
79         pinctrl-0 = <&i2c2_pins>;
81         status = "okay";
82         clock-frequency = <400000>;
84         tca6416b: gpio@20 {
85                 compatible = "ti,tca6416";
86                 reg = <0x20>;
87                 gpio-controller;
88                 #gpio-cells = <2>;
89         };
91         tca6416c: gpio@21 {
92                 compatible = "ti,tca6416";
93                 reg = <0x21>;
94                 gpio-controller;
95                 #gpio-cells = <2>;
96         };
99 &davinci_mdio {
100         phy0: ethernet-phy@0 {
101                 reg = <1>;
102         };
105 &cpsw_emac0 {
106         phy-mode = "rmii";
107         dual_emac_res_vlan = <1>;
108         phy-handle = <&phy0>;
111 &cpsw_emac1 {
112         phy-mode = "rgmii-id";
113         dual_emac_res_vlan = <2>;
114         phy-handle = <&phy1>;