Lines Matching +full:fw +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2021-2024 PHYTEC America, LLC - https://www.phytec.com
6 * Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH
10 * https://www.phytec.com/product/phyboard-am64x
13 /dts-v1/;
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/leds/common.h>
18 #include <dt-bindings/leds/leds-pca9532.h>
19 #include <dt-bindings/phy/phy.h>
20 #include "k3-am642.dtsi"
21 #include "k3-am64-phycore-som.dtsi"
23 #include "k3-serdes.h"
26 compatible = "phytec,am642-phyboard-electra-rdk",
27 "phytec,am64-phycore-som", "ti,am642";
28 model = "PHYTEC phyBOARD-Electra-AM64x RDK";
39 stdout-path = &main_uart0;
42 can_tc1: can-phy0 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&can_tc1_pins_default>;
46 #phy-cells = <0>;
47 max-bitrate = <8000000>;
48 standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>;
51 can_tc2: can-phy1 {
53 pinctrl-names = "default";
54 pinctrl-0 = <&can_tc2_pins_default>;
55 #phy-cells = <0>;
56 max-bitrate = <8000000>;
57 standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
60 /* Dual Ethernet application node on PRU-ICSSG0 */
62 compatible = "ti,am642-icssg-prueth";
63 pinctrl-names = "default";
64 pinctrl-0 = <&icssg0_rgmii1_pins_default>, <&icssg0_rgmii2_pins_default>;
66 interrupt-parent = <&icssg0_intc>;
68 interrupt-names = "tx_ts0", "tx_ts1";
71 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
72 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
73 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
74 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
75 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
76 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
88 dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
89 "tx1-0", "tx1-1", "tx1-2", "tx1-3",
93 ti,pruss-gp-mux-sel = <2>, /* MII mode */
100 ti,mii-g-rt = <&icssg0_mii_g_rt>;
101 ti,mii-rt = <&icssg0_mii_rt>;
104 ethernet-ports {
105 #address-cells = <1>;
106 #size-cells = <0>;
109 phy-handle = <&icssg0_phy1>;
110 phy-mode = "rgmii-id";
112 local-mac-address = [00 00 00 00 00 00];
113 ti,syscon-rgmii-delay = <&main_conf 0x4100>;
118 phy-handle = <&icssg0_phy2>;
119 phy-mode = "rgmii-id";
121 local-mac-address = [00 00 00 00 00 00];
122 ti,syscon-rgmii-delay = <&main_conf 0x4104>;
128 compatible = "gpio-keys";
130 pinctrl-names = "default";
131 pinctrl-0 = <&gpio_keys_pins_default>;
133 key-home {
136 gpios = <&main_gpio0 17 GPIO_ACTIVE_HIGH>;
139 key-menu {
142 gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>;
147 compatible = "gpio-leds";
148 pinctrl-names = "default";
149 pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>;
151 led-1 {
153 gpios = <&main_gpio0 15 GPIO_ACTIVE_HIGH>;
154 linux,default-trigger = "mmc0";
158 led-2 {
160 gpios = <&main_gpio0 16 GPIO_ACTIVE_HIGH>;
161 linux,default-trigger = "mmc1";
166 vcc_3v3_mmc: regulator-sd {
168 compatible = "regulator-fixed";
169 regulator-name = "VCC_3V3_MMC";
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
172 regulator-boot-on;
173 regulator-always-on;
178 can_tc1_pins_default: can-tc1-default-pins {
179 pinctrl-single,pins = <
184 can_tc2_pins_default: can-tc2-default-pins {
185 pinctrl-single,pins = <
190 clkout0_pins_default: clkout0-default-pins {
191 pinctrl-single,pins = <
196 gpio_keys_pins_default: gpio-keys-default-pins {
197 pinctrl-single,pins = <
203 icssg0_mdio_pins_default: icssg0-mdio-default-pins {
204 pinctrl-single,pins = <
212 icssg0_rgmii1_pins_default: icssg0-rgmii1-default-pins {
213 pinctrl-single,pins = <
229 icssg0_rgmii2_pins_default: icssg0-rgmii2-default-pins {
230 pinctrl-single,pins = <
246 main_i2c1_pins_default: main-i2c1-default-pins {
247 pinctrl-single,pins = <
253 main_mcan0_pins_default: main-mcan0-default-pins {
254 pinctrl-single,pins = <
260 main_mcan1_pins_default: main-mcan1-default-pins {
261 pinctrl-single,pins = <
267 main_mmc1_pins_default: main-mmc1-default-pins {
268 pinctrl-single,pins = <
280 main_spi0_pins_default: main-spi0-default-pins {
281 pinctrl-single,pins = <
289 main_uart0_pins_default: main-uart0-default-pins {
290 pinctrl-single,pins = <
296 main_uart1_pins_default: main-uart1-default-pins {
297 pinctrl-single,pins = <
305 main_usb0_pins_default: main-usb0-default-pins {
306 pinctrl-single,pins = <
311 user_leds_pins_default: user-leds-default-pins {
312 pinctrl-single,pins = <
320 pinctrl-names = "default";
321 pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>;
324 icssg0_phy1: ethernet-phy@1 {
325 compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22";
327 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
328 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
329 reset-gpios = <&main_gpio1 18 GPIO_ACTIVE_LOW>;
330 reset-assert-us = <1000>;
331 reset-deassert-us = <1000>;
332 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
335 icssg0_phy2: ethernet-phy@2 {
336 compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22";
338 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
339 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
340 reset-gpios = <&main_gpio1 19 GPIO_ACTIVE_LOW>;
341 reset-assert-us = <1000>;
342 reset-deassert-us = <1000>;
343 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&main_i2c1_pins_default>;
351 clock-frequency = <400000>;
359 led-controller@62 {
363 led-3 {
368 led-4 {
373 led-5 {
382 pinctrl-names = "default";
383 pinctrl-0 = <&main_mcan0_pins_default>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&main_mcan1_pins_default>;
396 pinctrl-names = "default";
397 pinctrl-0 = <&main_spi0_pins_default>;
398 cs-gpios = <0>, <&main_gpio1 43 GPIO_ACTIVE_LOW>;
399 ti,pindir-d0-out-d1-in;
402 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
404 spi-max-frequency = <10000000>;
410 pinctrl-names = "default";
411 pinctrl-0 = <&main_uart0_pins_default>;
416 pinctrl-names = "default";
417 pinctrl-0 = <&main_uart1_pins_default>;
418 uart-has-rtscts;
423 vmmc-supply = <&vcc_3v3_mmc>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&main_mmc1_pins_default>;
426 bus-width = <4>;
427 disable-wp;
428 no-1-8-v;
434 cdns,num-lanes = <1>;
435 #phy-cells = <0>;
436 cdns,phy-type = <PHY_TYPE_USB3>;
442 idle-states = <AM64_SERDES0_LANE0_USB>;
446 ti,vbus-divider;
450 pinctrl-names = "default";
451 pinctrl-0 = <&main_usb0_pins_default>;
453 maximum-speed = "super-speed";
455 phy-names = "cdns3,usb3-phy";