linux/arch/arm64/boot/dts/marvell/armada-ap807.dtsi
Marcin Wojtas f2c6d6b271 arm64: dts: ensure backward compatibility of the AP807 Xenon
A recent switch to a dedicated AP807 compatible string for the Xenon
SD/MMC controller result in the driver not being probed when
using updated device tree with the older kernel revisions.
It may also be problematic for other OSs/firmware that use
Linux device tree sources as a reference. Resolve the problem
with backward compatibility by restoring a previous compatible
string as secondary one.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2021-06-17 15:13:29 +02:00

36 lines
657 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Device Tree file for Marvell Armada AP807
*
* 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";
#clock-cells = <1>;
};
};
&ap_syscon1 {
cpu_clk: clock-cpu {
compatible = "marvell,ap807-cpu-clock";
clocks = <&ap_clk 0>, <&ap_clk 1>;
#clock-cells = <1>;
};
};
&ap_sdhci0 {
compatible = "marvell,armada-ap807-sdhci",
"marvell,armada-ap806-sdhci"; /* Backward compatibility */
};