[PATCH linux] arch/arm: Add qemupalmetto dts with Cadence GEM support
Andrew Jeffery
andrew at aj.id.au
Mon Apr 4 14:59:51 AEST 2016
Describes a machine that is as similar to Palmetto, primarily for running under
QEMU. Relaxing the constraint of booting the exact Palmetto hardware in QEMU
allows us to integrate existing device models to expand the machine's
capability without huge effort.
In this case, the Cadence GEM controller is integrated as there was an existing
model in QEMU which was easy to integrate (both in QEMU and kernel).
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
arch/arm/boot/dts/aspeed-bmc-opp-qemupalmetto.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-qemupalmetto.dts
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-qemupalmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-qemupalmetto.dts
new file mode 100644
index 0000000..b0915cd
--- /dev/null
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-qemupalmetto.dts
@@ -0,0 +1,16 @@
+#include "aspeed-bmc-opp-palmetto.dts"
+
+/ {
+ ahb {
+ mac1: ethernet at 1e680000 {
+ compatible = "cdns,gem";
+ reg = <0x1e680000 0x1000>;
+ interrupts = <3>;
+ clock-names = "pclk", "hclk", "tx_clk";
+ clocks = <&clk_apb>, <&clk_apb>, <&clk_apb>;
+ status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+};
--
2.5.0
More information about the openbmc
mailing list