mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-26 04:47:45 +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>
285 lines
4.5 KiB
Plaintext
285 lines
4.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/*
|
|
* Device Tree Bindings for Cisco Meraki MX65 series (Alamo).
|
|
*
|
|
* Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
|
|
*/
|
|
|
|
#include "bcm958625-meraki-mx6x-common.dtsi"
|
|
|
|
/ {
|
|
keys {
|
|
compatible = "gpio-keys-polled";
|
|
autorepeat;
|
|
poll-interval = <20>;
|
|
|
|
button-reset {
|
|
label = "reset";
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&gpioa 8 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led-0 {
|
|
/* green:wan1-left */
|
|
function = LED_FUNCTION_ACTIVITY;
|
|
function-enumerator = <0>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpioa 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-1 {
|
|
/* green:wan1-right */
|
|
function = LED_FUNCTION_ACTIVITY;
|
|
function-enumerator = <1>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpioa 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-2 {
|
|
/* green:wan2-left */
|
|
function = LED_FUNCTION_ACTIVITY;
|
|
function-enumerator = <2>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpioa 27 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-3 {
|
|
/* green:wan2-right */
|
|
function = LED_FUNCTION_ACTIVITY;
|
|
function-enumerator = <3>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpioa 26 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-4 {
|
|
/* amber:power */
|
|
function = LED_FUNCTION_FAULT;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-5 {
|
|
/* white:status */
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&axi {
|
|
mdio-mux@3f1c0 {
|
|
compatible = "mdio-mux-mmioreg", "mdio-mux";
|
|
reg = <0x3f1c0 0x4>;
|
|
mux-mask = <0x2000>;
|
|
mdio-parent-bus = <&mdio_ext>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mdio@0 {
|
|
reg = <0x0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
phy_port6: phy@0 {
|
|
reg = <0>;
|
|
};
|
|
|
|
phy_port7: phy@1 {
|
|
reg = <1>;
|
|
};
|
|
|
|
phy_port8: phy@2 {
|
|
reg = <2>;
|
|
};
|
|
|
|
phy_port9: phy@3 {
|
|
reg = <3>;
|
|
};
|
|
|
|
phy_port10: phy@4 {
|
|
reg = <4>;
|
|
};
|
|
|
|
switch@10 {
|
|
compatible = "qca,qca8337";
|
|
reg = <0x10>;
|
|
dsa,member = <1 0>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
port@0 {
|
|
reg = <0>;
|
|
ethernet = <&sgmii1>;
|
|
phy-mode = "sgmii";
|
|
qca,sgmii-enable-pll;
|
|
qca,sgmii-txclk-falling-edge;
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
label = "lan8";
|
|
phy-handle = <&phy_port6>;
|
|
};
|
|
|
|
port@2 {
|
|
reg = <2>;
|
|
label = "lan9";
|
|
phy-handle = <&phy_port7>;
|
|
};
|
|
|
|
port@3 {
|
|
reg = <3>;
|
|
label = "lan10";
|
|
phy-handle = <&phy_port8>;
|
|
};
|
|
|
|
port@4 {
|
|
reg = <4>;
|
|
label = "lan11";
|
|
phy-handle = <&phy_port9>;
|
|
};
|
|
|
|
port@5 {
|
|
reg = <5>;
|
|
label = "lan12";
|
|
phy-handle = <&phy_port10>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
mdio-mii@2000 {
|
|
reg = <0x2000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
phy_port1: phy@0 {
|
|
reg = <0>;
|
|
};
|
|
|
|
phy_port2: phy@1 {
|
|
reg = <1>;
|
|
};
|
|
|
|
phy_port3: phy@2 {
|
|
reg = <2>;
|
|
};
|
|
|
|
phy_port4: phy@3 {
|
|
reg = <3>;
|
|
};
|
|
|
|
phy_port5: phy@4 {
|
|
reg = <4>;
|
|
};
|
|
|
|
switch@10 {
|
|
compatible = "qca,qca8337";
|
|
reg = <0x10>;
|
|
dsa,member = <2 0>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
port@0 {
|
|
reg = <0>;
|
|
ethernet = <&sgmii0>;
|
|
phy-mode = "sgmii";
|
|
qca,sgmii-enable-pll;
|
|
qca,sgmii-txclk-falling-edge;
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
label = "lan3";
|
|
phy-handle = <&phy_port1>;
|
|
};
|
|
|
|
port@2 {
|
|
reg = <2>;
|
|
label = "lan4";
|
|
phy-handle = <&phy_port2>;
|
|
};
|
|
|
|
port@3 {
|
|
reg = <3>;
|
|
label = "lan5";
|
|
phy-handle = <&phy_port3>;
|
|
};
|
|
|
|
port@4 {
|
|
reg = <4>;
|
|
label = "lan6";
|
|
phy-handle = <&phy_port4>;
|
|
};
|
|
|
|
port@5 {
|
|
reg = <5>;
|
|
label = "lan7";
|
|
phy-handle = <&phy_port5>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&srab {
|
|
compatible = "brcm,bcm58625-srab", "brcm,nsp-srab";
|
|
status = "okay";
|
|
dsa,member = <0 0>;
|
|
|
|
ports {
|
|
port@0 {
|
|
label = "wan1";
|
|
reg = <0>;
|
|
};
|
|
|
|
port@1 {
|
|
label = "wan2";
|
|
reg = <1>;
|
|
};
|
|
|
|
sgmii0: port@4 {
|
|
label = "sw0";
|
|
reg = <4>;
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
sgmii1: port@5 {
|
|
label = "sw1";
|
|
reg = <5>;
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
port@8 {
|
|
ethernet = <&amac2>;
|
|
reg = <8>;
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
};
|
|
};
|