linux-loongson/arch/arm/boot/dts/marvell/kirkwood-b3.dts
Rob Herring 724ba67515 ARM: dts: Move .dts files to vendor sub-directories
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>
2023-06-21 11:39:50 -06:00

196 lines
3.7 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0+
/*
* Device Tree file for Excito Bubba B3
*
* Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch>
*
*
* Note: This requires a new'ish version of u-boot, which disables the
* L2 cache. If your B3 silently fails to boot, u-boot is probably too
* old. Either upgrade, or consider the following email:
*
* https://lists.debian.org/debian-arm/2012/08/msg00128.html
*/
/dts-v1/;
#include "kirkwood.dtsi"
#include "kirkwood-6281.dtsi"
/ {
model = "Excito B3";
compatible = "excito,b3", "marvell,kirkwood-88f6281", "marvell,kirkwood";
memory { /* 512 MB */
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
chosen {
bootargs = "console=ttyS0,115200n8 earlyprintk";
stdout-path = &uart0;
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_button_power: pmx-button-power {
marvell,pins = "mpp39";
marvell,function = "gpio";
};
pmx_led_green: pmx-led-green {
marvell,pins = "mpp38";
marvell,function = "gpio";
};
pmx_led_red: pmx-led-red {
marvell,pins = "mpp41";
marvell,function = "gpio";
};
pmx_led_blue: pmx-led-blue {
marvell,pins = "mpp42";
marvell,function = "gpio";
};
pmx_beeper: pmx-beeper {
marvell,pins = "mpp40";
marvell,function = "gpio";
};
};
spi@10600 {
status = "okay";
m25p16@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p16", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
mode = <0>;
partition@0 {
reg = <0x0 0xc0000>;
label = "u-boot";
};
partition@c0000 {
reg = <0xc0000 0x20000>;
label = "u-boot env";
};
partition@e0000 {
reg = <0xe0000 0x120000>;
label = "data";
};
};
};
i2c@11000 {
status = "okay";
/*
* There is something on the bus at address 0x64.
* Not yet identified what it is, maybe the eeprom
* for the Atheros WiFi chip?
*/
};
serial@12000 {
/* Internal on test pins, 3.3v TTL
* UART0_RX = Testpoint 65
* UART0_TX = Testpoint 66
* See the Excito Wiki for more details.
*/
status = "okay";
};
sata@80000 {
/* One internal, the second as eSATA */
status = "okay";
nr-ports = <2>;
};
};
gpio-leds {
/*
* There is one LED "port" on the front and the colours
* mix together giving some interesting combinations.
*/
compatible = "gpio-leds";
pinctrl-0 = < &pmx_led_green &pmx_led_red
&pmx_led_blue >;
pinctrl-names = "default";
programming_led {
label = "bubba3:green:programming";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
error_led {
label = "bubba3:red:error";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
};
active_led {
label = "bubba3:blue:active";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};
};
gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&pmx_button_power>;
pinctrl-names = "default";
power-button {
/* On the back */
label = "Power Button";
linux,code = <KEY_POWER>;
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
};
};
beeper: beeper {
/* 4KHz Piezoelectric buzzer */
compatible = "gpio-beeper";
pinctrl-0 = <&pmx_beeper>;
pinctrl-names = "default";
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
};
};
&mdio {
status = "okay";
ethphy0: ethernet-phy@8 {
device_type = "ethernet-phy";
reg = <8>;
};
ethphy1: ethernet-phy@24 {
device_type = "ethernet-phy";
reg = <24>;
};
};
&eth0 {
status = "okay";
ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&eth1 {
status = "okay";
ethernet1-port@0 {
phy-handle = <&ethphy1>;
};
};
/* Wifi model has Atheros chipset on pcie port */
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};