mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-25 15:33:40 +00:00
The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
196 lines
3.6 KiB
Plaintext
196 lines
3.6 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* lan966x-pcb8290.dts - Device Tree file for LAN966X-PCB8290 board
|
|
*
|
|
* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
|
|
*
|
|
* Author: Horatiu Vultur <horatiu.vultur@microchip.com>
|
|
*/
|
|
/dts-v1/;
|
|
#include "lan966x.dtsi"
|
|
#include "dt-bindings/phy/phy-lan966x-serdes.h"
|
|
|
|
/ {
|
|
model = "Microchip EVB LAN9668";
|
|
compatible = "microchip,lan9668-pcb8290", "microchip,lan9668", "microchip,lan966";
|
|
|
|
gpio-restart {
|
|
compatible = "gpio-restart";
|
|
gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
|
|
priority = <200>;
|
|
};
|
|
};
|
|
|
|
&aes {
|
|
status = "disabled"; /* Reserved by secure OS */
|
|
};
|
|
|
|
&gpio {
|
|
miim_a_pins: mdio-pins {
|
|
/* MDC, MDIO */
|
|
pins = "GPIO_28", "GPIO_29";
|
|
function = "miim_a";
|
|
};
|
|
|
|
pps_out_pins: pps-out-pins {
|
|
/* 1pps output */
|
|
pins = "GPIO_38";
|
|
function = "ptpsync_3";
|
|
};
|
|
|
|
ptp_ext_pins: ptp-ext-pins {
|
|
/* 1pps input */
|
|
pins = "GPIO_35";
|
|
function = "ptpsync_0";
|
|
};
|
|
|
|
udc_pins: ucd-pins {
|
|
/* VBUS_DET B */
|
|
pins = "GPIO_8";
|
|
function = "usb_slave_b";
|
|
};
|
|
};
|
|
|
|
&mdio0 {
|
|
pinctrl-0 = <&miim_a_pins>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
|
|
ext_phy0: ethernet-phy@7 {
|
|
reg = <7>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy1: ethernet-phy@8 {
|
|
reg = <8>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy2: ethernet-phy@9 {
|
|
reg = <9>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy3: ethernet-phy@10 {
|
|
reg = <10>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy4: ethernet-phy@15 {
|
|
reg = <15>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy5: ethernet-phy@16 {
|
|
reg = <16>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy6: ethernet-phy@17 {
|
|
reg = <17>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
|
|
ext_phy7: ethernet-phy@18 {
|
|
reg = <18>;
|
|
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio>;
|
|
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
|
|
};
|
|
};
|
|
|
|
&port0 {
|
|
reg = <2>;
|
|
phy-handle = <&ext_phy2>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 0 SERDES6G(1)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port1 {
|
|
reg = <3>;
|
|
phy-handle = <&ext_phy3>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 1 SERDES6G(1)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port2 {
|
|
reg = <0>;
|
|
phy-handle = <&ext_phy0>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 2 SERDES6G(1)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port3 {
|
|
reg = <1>;
|
|
phy-handle = <&ext_phy1>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 3 SERDES6G(1)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port4 {
|
|
reg = <6>;
|
|
phy-handle = <&ext_phy6>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 4 SERDES6G(2)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port5 {
|
|
reg = <7>;
|
|
phy-handle = <&ext_phy7>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 5 SERDES6G(2)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port6 {
|
|
reg = <4>;
|
|
phy-handle = <&ext_phy4>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 6 SERDES6G(2)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&port7 {
|
|
reg = <5>;
|
|
phy-handle = <&ext_phy5>;
|
|
phy-mode = "qsgmii";
|
|
phys = <&serdes 7 SERDES6G(2)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&serdes {
|
|
status = "okay";
|
|
};
|
|
|
|
&switch {
|
|
pinctrl-0 = <&pps_out_pins>, <&ptp_ext_pins>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
|
|
&udc {
|
|
pinctrl-0 = <&udc_pins>;
|
|
pinctrl-names = "default";
|
|
atmel,vbus-gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|