mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +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>
206 lines
3.0 KiB
Plaintext
206 lines
3.0 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Endian 4i Edge 200 Board Description
|
|
* Note: Endian UTM Mini is hardware clone of Endian Edge 200
|
|
* Copyright 2021-2022 Pawel Dembicki <paweldembicki@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "kirkwood.dtsi"
|
|
#include "kirkwood-6281.dtsi"
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
/ {
|
|
model = "Endian 4i Edge 200";
|
|
compatible = "endian,4i-edge-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x20000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8";
|
|
stdout-path = &uart0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_led>;
|
|
pinctrl-names = "default";
|
|
|
|
led-1 {
|
|
function = LED_FUNCTION_SD;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "mmc0";
|
|
};
|
|
|
|
led-2 {
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-3 {
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
};
|
|
|
|
ð0port {
|
|
speed = <1000>;
|
|
duplex = <1>;
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
};
|
|
|
|
ð1port {
|
|
phy-handle = <ðphyb>;
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphyb: ethernet-phy@b {
|
|
reg = <0x0b>;
|
|
|
|
marvell,reg-init =
|
|
/* link-activity, bi-color mode 4 */
|
|
<3 0x10 0xfff0 0xf>; /* Reg 3,16 <- 0xzzzf */
|
|
};
|
|
|
|
switch0: switch@11 {
|
|
compatible = "marvell,mv88e6085";
|
|
reg = <0x11>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
label = "port1";
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
label = "port2";
|
|
};
|
|
|
|
port@2 {
|
|
reg = <2>;
|
|
label = "port3";
|
|
};
|
|
|
|
port@3 {
|
|
reg = <3>;
|
|
label = "port4";
|
|
};
|
|
|
|
port@5 {
|
|
reg = <5>;
|
|
phy-mode = "rgmii-id";
|
|
ethernet = <ð0port>;
|
|
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
pinctrl-0 = <&pmx_nand>;
|
|
pinctrl-names = "default";
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0x00000000 0x000a0000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@a0000 {
|
|
label = "u-boot-env";
|
|
reg = <0x000a0000 0x00060000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@100000 {
|
|
label = "kernel";
|
|
reg = <0x00100000 0x00400000>;
|
|
};
|
|
|
|
partition@500000 {
|
|
label = "ubi";
|
|
reg = <0x00500000 0x1fb00000>;
|
|
};
|
|
};
|
|
|
|
&pciec {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&pinctrl {
|
|
pinctrl-0 = <&pmx_sysrst>;
|
|
pinctrl-names = "default";
|
|
|
|
pmx_sysrst: pmx-sysrst {
|
|
marvell,pins = "mpp6";
|
|
marvell,function = "sysrst";
|
|
};
|
|
|
|
pmx_sdio_cd: pmx-sdio-cd {
|
|
marvell,pins = "mpp28";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_led: pmx-led {
|
|
marvell,pins = "mpp34", "mpp35", "mpp49";
|
|
marvell,function = "gpio";
|
|
};
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
&sata_phy0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&sata_phy1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&sdio {
|
|
pinctrl-0 = <&pmx_sdio_cd>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
cd-gpios = <&gpio0 28 9>;
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
};
|