1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
13 #include "am335x-baltos.dtsi"
14 #include "am335x-baltos-leds.dtsi"
20 pinctrl-names = "default";
21 pinctrl-0 = <&user_leds_s0>;
23 compatible = "gpio-leds";
27 linux,default-trigger = "netdev";
28 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
29 default-state = "off";
33 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
34 default-state = "off";
40 user_leds_s0: user_leds_s0 {
41 pinctrl-single,pins = <
42 AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* CAN Data LED */
43 AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* CAN Error LED */
47 dcan1_pins: pinmux_dcan1_pins {
48 pinctrl-single,pins = <
49 AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2) /* CAN TX */
50 AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2) /* CAN RX */
65 phy0: ethernet-phy@0 {
72 dual_emac_res_vlan = <1>;
77 phy-mode = "rgmii-id";
78 dual_emac_res_vlan = <2>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&dcan1_pins>;