mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
96 lines
1.4 KiB
Plaintext
96 lines
1.4 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* lan966x_pcb8291.dts - Device Tree file for PCB8291
|
|
*/
|
|
/dts-v1/;
|
|
#include "lan966x.dtsi"
|
|
#include "dt-bindings/phy/phy-lan966x-serdes.h"
|
|
|
|
/ {
|
|
model = "Microchip EVB - LAN9662";
|
|
compatible = "microchip,lan9662-pcb8291", "microchip,lan9662", "microchip,lan966";
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &usart3;
|
|
};
|
|
|
|
gpio-restart {
|
|
compatible = "gpio-restart";
|
|
gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
|
|
priority = <200>;
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
fc3_b_pins: fc3-b-pins {
|
|
/* RX, TX */
|
|
pins = "GPIO_52", "GPIO_53";
|
|
function = "fc3_b";
|
|
};
|
|
|
|
can0_b_pins: can0-b-pins {
|
|
/* RX, TX */
|
|
pins = "GPIO_35", "GPIO_36";
|
|
function = "can0_b";
|
|
};
|
|
};
|
|
|
|
&can0 {
|
|
pinctrl-0 = <&can0_b_pins>;
|
|
pinctrl-names = "default";
|
|
status = "disabled"; /* Conflict with switch */
|
|
};
|
|
|
|
&flx3 {
|
|
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
|
|
status = "okay";
|
|
|
|
usart3: serial@200 {
|
|
pinctrl-0 = <&fc3_b_pins>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&mdio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&phy0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&phy1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&port0 {
|
|
phy-handle = <&phy0>;
|
|
phy-mode = "gmii";
|
|
phys = <&serdes 0 CU(0)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port1 {
|
|
phy-handle = <&phy1>;
|
|
phy-mode = "gmii";
|
|
phys = <&serdes 1 CU(1)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&serdes {
|
|
status = "okay";
|
|
};
|
|
|
|
&switch {
|
|
status = "okay";
|
|
};
|
|
|
|
&watchdog {
|
|
status = "okay";
|
|
};
|