mvebu dt64 for 6.15 (part 1)

device tree clean-up fomr DT maintainers

* tag 'mvebu-dt64-6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  arm64: dts: marvell: Use preferred node names for "simple-bus"
  arm64: dts: marvell: Drop unused CP11X_TYPE define
  arm64: dts: marvell: Move arch timer and pmu nodes to top-level
  ARM: dts: marvell: armada: Align GPIO hog name with bindings
  ARM: dts: marvell: kirkwood-openrd: Align GPIO hog name with bindings
  arm64: dts: marvell: armada-8040: Align GPIO hog name with bindings
  arm64: dts: marvell: Add missing board compatible for IEI-Puzzle-M801
  arm64: dts: marvell: Fix missing/incorrect "marvell,armada3710" compatible
  arm64: dts: marvell: Drop incomplete root compatible/model properties
  dt-bindings: marvell: armada-7k-8k: Add missing 7040 and 8040 board compatibles
  dt-bindings: marvell: armada-7k-8k: Move Armada 8KPlus to schema
  dt-bindings: marvell: armada-37xx: Add glinet,gl-mv1000 compatible

Link: https://lore.kernel.org/r/87wmco99xv.fsf@BLaptop.bootlin.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann
2025-03-19 21:48:56 +01:00
37 changed files with 78 additions and 153 deletions

View File

@@ -18,6 +18,7 @@ properties:
items:
- enum:
- cznic,turris-mox
- glinet,gl-mv1000
- globalscale,espressobin
- marvell,armada-3720-db
- methode,edpu

View File

@@ -23,6 +23,9 @@ properties:
- description: Armada 7040 SoC
items:
- enum:
- globalscale,mochabin
- marvell,armada7040-db
- const: marvell,armada7040
- const: marvell,armada-ap806-quad
- const: marvell,armada-ap806
@@ -35,10 +38,32 @@ properties:
- description: Armada 8040 SoC
items:
- enum:
- iei,puzzle-m801
- marvell,armada8040-db
- solidrun,clearfog-gt-8k
- const: marvell,armada8040
- const: marvell,armada-ap806-quad
- const: marvell,armada-ap806
- description: Armada 8040 SoC MACCHIATOBin Boards
items:
- enum:
- marvell,armada8040-mcbin-doubleshot
- marvell,armada8040-mcbin-singleshot
- const: marvell,armada8040-mcbin
- const: marvell,armada8040
- const: marvell,armada-ap806-quad
- const: marvell,armada-ap806
- description: Armada 8080 SoC
items:
- enum:
- marvell,armada-8080-db
- const: marvell,armada-8080
- const: marvell,armada-ap810-octa
- const: marvell,armada-ap810
- description: Armada CN9130 SoC with no external CP
items:
- const: marvell,cn9130

View File

@@ -1,15 +0,0 @@
Marvell Armada 8KPlus Platforms Device Tree Bindings
----------------------------------------------------
Boards using a SoC of the Marvell Armada 8KP families must carry
the following root node property:
- compatible, with one of the following values:
- "marvell,armada-8080", "marvell,armada-ap810-octa", "marvell,armada-ap810"
when the SoC being used is the Armada 8080
Example:
compatible = "marvell,armada-8080-db", "marvell,armada-8080",
"marvell,armada-ap810-octa", "marvell,armada-ap810"

View File

@@ -453,7 +453,7 @@ &gpio0 {
pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>;
pinctrl-names = "default";
wifi-disable {
wifi-disable-hog {
gpio-hog;
gpios = <30 GPIO_ACTIVE_LOW>, <31 GPIO_ACTIVE_LOW>;
output-low;
@@ -465,7 +465,7 @@ &gpio1 {
pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>;
pinctrl-names = "default";
lte-disable {
lte-disable-hog {
gpio-hog;
gpios = <2 GPIO_ACTIVE_LOW>;
output-low;
@@ -476,14 +476,14 @@ lte-disable {
* This signal, when asserted, isolates Armada 38x sample at reset pins
* from control of external devices. Should be de-asserted after reset.
*/
sar-isolation {
sar-isolation-hog {
gpio-hog;
gpios = <15 GPIO_ACTIVE_LOW>;
output-low;
line-name = "sar-isolation";
};
poe-reset {
poe-reset-hog {
gpio-hog;
gpios = <16 GPIO_ACTIVE_LOW>;
output-low;

View File

@@ -34,7 +34,7 @@ &eth1 {
};
&gpio0 {
phy1_reset {
phy1-reset-hog {
gpio-hog;
gpios = <19 GPIO_ACTIVE_LOW>;
output-low;

View File

@@ -53,7 +53,7 @@ mvsdio@90000 {
cd-gpios = <&gpio0 29 9>;
};
gpio@10100 {
p28 {
p28-hog {
gpio-hog;
gpios = <28 GPIO_ACTIVE_HIGH>;
/*
@@ -71,7 +71,7 @@ p28 {
};
};
gpio@10140 {
p2 {
p2-hog {
gpio-hog;
gpios = <2 GPIO_ACTIVE_HIGH>;
/*

View File

@@ -78,7 +78,7 @@ soc {
#size-cells = <2>;
ranges;
internal-regs@7f000000 {
bus@7f000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";

View File

@@ -1,17 +0,0 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Device Tree Include file for Marvell Armada 371x family of SoCs
* (also named 88F3710)
*
* Copyright (C) 2016 Marvell
*
* Gregory CLEMENT <gregory.clement@free-electrons.com>
*
*/
#include "armada-37xx.dtsi"
/ {
model = "Marvell Armada 3710 SoC";
compatible = "marvell,armada3710", "marvell,armada3700";
};

View File

@@ -18,7 +18,7 @@
/ {
model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3";
compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3700";
compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710";
chosen {
stdout-path = "serial0:115200n8";

View File

@@ -18,7 +18,7 @@
/ {
model = "Globalscale Marvell ESPRESSOBin Board (eMMC)";
compatible = "globalscale,espressobin-emmc", "globalscale,espressobin",
"marvell,armada3720", "marvell,armada3700";
"marvell,armada3720", "marvell,armada3710";
};
&sdhci0 {

View File

@@ -13,7 +13,7 @@
/ {
model = "Globalscale Marvell ESPRESSOBin Ultra Board";
compatible = "globalscale,espressobin-ultra", "globalscale,espressobin",
"marvell,armada3720", "marvell,armada3700";
"marvell,armada3720", "marvell,armada3710";
aliases {
/* ethernet1 is WAN port */

View File

@@ -19,7 +19,7 @@ / {
model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)";
compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7",
"globalscale,espressobin", "marvell,armada3720",
"marvell,armada3700";
"marvell,armada3710";
aliases {
/* ethernet1 is wan port */

View File

@@ -18,7 +18,7 @@
/ {
model = "Globalscale Marvell ESPRESSOBin Board V7";
compatible = "globalscale,espressobin-v7", "globalscale,espressobin",
"marvell,armada3720", "marvell,armada3700";
"marvell,armada3720", "marvell,armada3710";
aliases {
/* ethernet1 is wan port */

View File

@@ -16,5 +16,5 @@
/ {
model = "Globalscale Marvell ESPRESSOBin Board";
compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3700";
compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
};

View File

@@ -7,7 +7,7 @@
/ {
model = "GL.iNet GL-MV1000";
compatible = "glinet,gl-mv1000", "marvell,armada3720";
compatible = "glinet,gl-mv1000", "marvell,armada3720", "marvell,armada3710";
aliases {
led-boot = &led_power;

View File

@@ -14,7 +14,7 @@
/ {
model = "CZ.NIC Turris Mox Board";
compatible = "cznic,turris-mox", "marvell,armada3720",
"marvell,armada3700";
"marvell,armada3710";
aliases {
spi0 = &spi0;

View File

@@ -12,9 +12,6 @@
#include "armada-37xx.dtsi"
/ {
model = "Marvell Armada 3720 SoC";
compatible = "marvell,armada3720", "marvell,armada3700";
cpus {
cpu1: cpu@1 {
device_type = "cpu";

View File

@@ -11,8 +11,6 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
/ {
model = "Marvell Armada 37xx SoC";
compatible = "marvell,armada3700";
interrupt-parent = <&gic>;
#address-cells = <2>;
#size-cells = <2>;
@@ -78,7 +76,7 @@ soc {
#size-cells = <2>;
ranges;
internal-regs@d0000000 {
bus@d0000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";

View File

@@ -8,9 +8,3 @@
#include "armada-ap806-dual.dtsi"
#include "armada-70x0.dtsi"
/ {
model = "Marvell Armada 7020";
compatible = "marvell,armada7020", "marvell,armada-ap806-dual",
"marvell,armada-ap806";
};

View File

@@ -9,12 +9,6 @@
#include "armada-ap806-quad.dtsi"
#include "armada-70x0.dtsi"
/ {
model = "Marvell Armada 7040";
compatible = "marvell,armada7040", "marvell,armada-ap806-quad",
"marvell,armada-ap806";
};
&cp0_pcie0 {
iommu-map =
<0x0 &smmu 0x480 0x20>,

View File

@@ -9,12 +9,6 @@
#include "armada-ap806-dual.dtsi"
#include "armada-80x0.dtsi"
/ {
model = "Marvell Armada 8020";
compatible = "marvell,armada8020", "marvell,armada-ap806-dual",
"marvell,armada-ap806";
};
/* The RTC requires external oscillator. But on Aramda 80x0, the RTC clock
* in CP master is not connected (by package) to the oscillator. So
* disable it. However, the RTC clock in CP slave is connected to the

View File

@@ -371,25 +371,25 @@ &cp0_pcie0 {
};
&cp0_gpio2 {
sata_reset {
sata-reset-hog {
gpio-hog;
gpios = <1 GPIO_ACTIVE_HIGH>;
output-high;
};
lte_reset {
lte-reset-hog {
gpio-hog;
gpios = <2 GPIO_ACTIVE_LOW>;
output-low;
};
wlan_disable {
wlan_disable-hog {
gpio-hog;
gpios = <19 GPIO_ACTIVE_LOW>;
output-low;
};
lte_disable {
lte-disable-hog {
gpio-hog;
gpios = <21 GPIO_ACTIVE_LOW>;
output-low;

View File

@@ -13,7 +13,7 @@
/ {
model = "IEI-Puzzle-M801";
compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
compatible = "iei,puzzle-m801", "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
aliases {
ethernet0 = &cp0_eth0;

View File

@@ -9,12 +9,6 @@
#include "armada-ap806-quad.dtsi"
#include "armada-80x0.dtsi"
/ {
model = "Marvell Armada 8040";
compatible = "marvell,armada8040", "marvell,armada-ap806-quad",
"marvell,armada-ap806";
};
&cp0_pcie0 {
iommu-map =
<0x0 &smmu 0x480 0x20>,

View File

@@ -6,9 +6,3 @@
*/
#include "armada-ap810-ap0-octa-core.dtsi"
/ {
model = "Marvell 8080 board";
compatible = "marvell,armada-8080", "marvell,armada-ap810-octa",
"marvell,armada-ap810";
};

View File

@@ -8,9 +8,6 @@
#include "armada-ap806.dtsi"
/ {
model = "Marvell Armada AP806 Dual";
compatible = "marvell,armada-ap806-dual", "marvell,armada-ap806";
cpus {
#address-cells = <1>;
#size-cells = <0>;

View File

@@ -8,9 +8,6 @@
#include "armada-ap806.dtsi"
/ {
model = "Marvell Armada AP806 Quad";
compatible = "marvell,armada-ap806-quad", "marvell,armada-ap806";
cpus {
#address-cells = <1>;
#size-cells = <0>;

View File

@@ -5,14 +5,8 @@
* Device Tree file for Marvell Armada AP806.
*/
#define AP_NAME ap806
#include "armada-ap80x.dtsi"
/ {
model = "Marvell Armada AP806";
compatible = "marvell,armada-ap806";
};
&ap_syscon0 {
ap_clk: clock {
compatible = "marvell,ap806-clock";

View File

@@ -8,9 +8,6 @@
#include "armada-ap807.dtsi"
/ {
model = "Marvell Armada AP807 Quad";
compatible = "marvell,armada-ap807-quad", "marvell,armada-ap807";
cpus {
#address-cells = <1>;
#size-cells = <0>;

View File

@@ -5,14 +5,8 @@
* Copyright (C) 2019 Marvell Technology Group Ltd.
*/
#define AP_NAME ap807
#include "armada-ap80x.dtsi"
/ {
model = "Marvell Armada AP807";
compatible = "marvell,armada-ap807";
};
&ap_syscon0 {
ap_clk: clock {
compatible = "marvell,ap807-clock";

View File

@@ -48,14 +48,29 @@ tee@4400000 {
};
};
AP_NAME {
timer {
compatible = "arm,armv8-timer";
interrupt-parent = <&gic>;
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
};
pmu {
compatible = "arm,cortex-a72-pmu";
interrupt-parent = <&pic>;
interrupts = <17>;
};
soc {
#address-cells = <2>;
#size-cells = <2>;
compatible = "simple-bus";
interrupt-parent = <&gic>;
ranges;
config-space@f0000000 {
bus@f0000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
@@ -122,20 +137,6 @@ gic_v2m3: v2m@2b0000 {
};
};
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
};
pmu {
compatible = "arm,cortex-a72-pmu";
interrupt-parent = <&pic>;
interrupts = <17>;
};
odmi: odmi@300000 {
compatible = "marvell,odmi-controller";
msi-controller;

View File

@@ -11,7 +11,6 @@ / {
cpus {
#address-cells = <1>;
#size-cells = <0>;
compatible = "marvell,armada-ap810-octa";
cpu0: cpu@0 {
device_type = "cpu";

View File

@@ -10,10 +10,9 @@
/dts-v1/;
/ {
model = "Marvell Armada AP810";
compatible = "marvell,armada-ap810";
#address-cells = <2>;
#size-cells = <2>;
interrupt-parent = <&gic>;
aliases {
serial0 = &uart0_ap0;
@@ -25,14 +24,21 @@ psci {
method = "smc";
};
ap810-ap0 {
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
};
soc {
#address-cells = <2>;
#size-cells = <2>;
compatible = "simple-bus";
interrupt-parent = <&gic>;
ranges;
config-space@e8000000 {
bus@e8000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
@@ -62,14 +68,6 @@ gic_its_ap0: msi-controller@3040000 {
};
};
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
};
xor@400000 {
compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
reg = <0x400000 0x1000>,

View File

@@ -5,8 +5,4 @@
* Device Tree file for Marvell Armada CP110.
*/
#define CP11X_TYPE cp110
#include "armada-cp11x.dtsi"
#undef CP11X_TYPE

View File

@@ -5,8 +5,4 @@
* Device Tree file for Marvell Armada CP115.
*/
#define CP11X_TYPE cp115
#include "armada-cp11x.dtsi"
#undef CP11X_TYPE

View File

@@ -17,7 +17,7 @@ / {
* The contents of the node are defined below, in order to
* save one indentation level
*/
CP11X_NAME: CP11X_NAME { };
CP11X_NAME: CP11X_NODE_NAME(bus) { };
/*
* CPs only have one sensor in the thermal IC.
@@ -51,7 +51,7 @@ &CP11X_NAME {
interrupt-parent = <&CP11X_LABEL(icu_nsr)>;
ranges;
config-space@CP11X_BASE {
bus@CP11X_BASE {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";

View File

@@ -7,9 +7,6 @@
#include <dt-bindings/gpio/gpio.h>
/ {
model = "SolidRun CN9130 SoM";
compatible = "solidrun,cn9130-sr-som", "marvell,cn9130";
aliases {
ethernet0 = &cp0_eth0;
ethernet1 = &cp0_eth1;