~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/microchip/lan966x-pcb8291.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * lan966x_pcb8291.dts - Device Tree file for PCB8291
  4  */
  5 /dts-v1/;
  6 #include "lan966x.dtsi"
  7 #include "dt-bindings/phy/phy-lan966x-serdes.h"
  8 
  9 / {
 10         model = "Microchip EVB - LAN9662";
 11         compatible = "microchip,lan9662-pcb8291", "microchip,lan9662", "microchip,lan966";
 12 
 13         chosen {
 14                 stdout-path = "serial0:115200n8";
 15         };
 16 
 17         aliases {
 18                 serial0 = &usart3;
 19         };
 20 
 21         gpio-restart {
 22                 compatible = "gpio-restart";
 23                 gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
 24                 priority = <200>;
 25         };
 26 
 27         leds {
 28                 compatible = "gpio-leds";
 29 
 30                 led-s0-blue {
 31                         label = "s0:blue";
 32                         gpios = <&sgpio_out 2 0 GPIO_ACTIVE_LOW>;
 33                         default-state = "off";
 34                 };
 35 
 36                 led-s0-green {
 37                         label = "s0:green";
 38                         gpios = <&sgpio_out 2 1 GPIO_ACTIVE_LOW>;
 39                         default-state = "off";
 40                 };
 41 
 42                 led-s1-blue {
 43                         label = "s1:blue";
 44                         gpios = <&sgpio_out 3 0 GPIO_ACTIVE_LOW>;
 45                         default-state = "off";
 46                 };
 47 
 48                 led-s1-green {
 49                         label = "s1:green";
 50                         gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>;
 51                         default-state = "off";
 52                 };
 53         };
 54 };
 55 
 56 &aes {
 57         status = "disabled"; /* Reserved by secure OS */
 58 };
 59 
 60 &gpio {
 61         fc3_b_pins: fc3-b-pins {
 62                 /* RX, TX */
 63                 pins = "GPIO_52", "GPIO_53";
 64                 function = "fc3_b";
 65         };
 66 
 67         can0_b_pins:  can0-b-pins {
 68                 /* RX, TX */
 69                 pins = "GPIO_35", "GPIO_36";
 70                 function = "can0_b";
 71         };
 72 
 73         sgpio_a_pins: sgpio-a-pins {
 74                 /* SCK, D0, D1, LD */
 75                 pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35";
 76                 function = "sgpio_a";
 77         };
 78 };
 79 
 80 &can0 {
 81         pinctrl-0 = <&can0_b_pins>;
 82         pinctrl-names = "default";
 83         status = "disabled"; /* Conflict with switch */
 84 };
 85 
 86 &flx3 {
 87         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
 88         status = "okay";
 89 
 90         usart3: serial@200 {
 91                 pinctrl-0 = <&fc3_b_pins>;
 92                 pinctrl-names = "default";
 93                 status = "okay";
 94         };
 95 };
 96 
 97 &mdio1 {
 98         status = "okay";
 99 };
100 
101 &phy0 {
102         status = "okay";
103 };
104 
105 &phy1 {
106         status = "okay";
107 };
108 
109 &port0 {
110         phy-handle = <&phy0>;
111         phy-mode = "gmii";
112         phys = <&serdes 0 CU(0)>;
113         status = "okay";
114 };
115 
116 &port1 {
117         phy-handle = <&phy1>;
118         phy-mode = "gmii";
119         phys = <&serdes 1 CU(1)>;
120         status = "okay";
121 };
122 
123 &serdes {
124         status = "okay";
125 };
126 
127 &sgpio {
128         pinctrl-0 = <&sgpio_a_pins>;
129         pinctrl-names = "default";
130         microchip,sgpio-port-ranges = <0 3>, <8 11>;
131         status = "okay";
132 
133         gpio@0 {
134                 ngpios = <64>;
135         };
136         gpio@1 {
137                 ngpios = <64>;
138         };
139 };
140 
141 &switch {
142         status = "okay";
143 };
144 
145 &watchdog {
146         status = "okay";
147 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php