Merge tag 'at91-dt-5.20-3' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt

AT91 DT for v5.20 #3

It contains updates for LAN966X devices as follows:
- clock gating support
- gpio restart and network switch for lan966x-pcb8291 board

* tag 'at91-dt-5.20-3' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: lan966x: Enable network driver on pcb8291
  ARM: dts: lan966x: Disable can0 on pcb8291
  ARM: dts: lan966x: Add gpio-restart
  ARM: dts: lan966x: add clock gating register

Link: https://lore.kernel.org/r/20220722152041.1752962-1-claudiu.beznea@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann
2022-07-25 16:54:46 +02:00
2 changed files with 43 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
*/
/dts-v1/;
#include "lan966x.dtsi"
#include "dt-bindings/phy/phy-lan966x-serdes.h"
/ {
model = "Microchip EVB - LAN9662";
@@ -16,6 +17,12 @@
aliases {
serial0 = &usart3;
};
gpio-restart {
compatible = "gpio-restart";
gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
priority = <200>;
};
};
&gpio {
@@ -35,7 +42,7 @@
&can0 {
pinctrl-0 = <&can0_b_pins>;
pinctrl-names = "default";
status = "okay";
status = "disabled"; /* Conflict with switch */
};
&flx3 {
@@ -49,6 +56,40 @@
};
};
&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";
};

View File

@@ -65,7 +65,7 @@
#clock-cells = <1>;
clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>;
clock-names = "cpu", "ddr", "sys";
reg = <0xe00c00a8 0x38>;
reg = <0xe00c00a8 0x38>, <0xe00c02cc 0x4>;
};
timer {