[linux-yocto] [PATCH 8/8] arch/arm/mach-axxia: Device Trees for New 5500 Variants

Charlie Paul cpaul.windriver at gmail.com
Tue Jun 3 18:14:30 PDT 2014


From: John Jacques <john.jacques at lsi.com>

Add device trees for two new 5500 variants, 5512 and 5508.

Signed-off-by: John Jacques <john.jacques at lsi.com>
---
 arch/arm/boot/dts/Makefile             |    4 +-
 arch/arm/boot/dts/axm5508-amarillo.dts |  221 ++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/axm5512-amarillo.dts |  221 ++++++++++++++++++++++++++++++++
 3 files changed, 445 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/axm5508-amarillo.dts
 create mode 100644 arch/arm/boot/dts/axm5512-amarillo.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5d73aba..1b5fcd7 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -224,7 +224,9 @@ dtb-$(CONFIG_ARCH_AXXIA) += axm5504-sim.dtb \
 	axm5516-sim.dtb \
 	axm5504-emu.dtb \
 	axm5507-emu.dtb \
-	axm5516-amarillo.dtb
+	axm5516-amarillo.dtb \
+	axm5512-amarillo.dtb \
+	axm5508-amarillo.dtb
 dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \
 	zynq-zc706.dtb
 
diff --git a/arch/arm/boot/dts/axm5508-amarillo.dts b/arch/arm/boot/dts/axm5508-amarillo.dts
new file mode 100644
index 0000000..09e3e42
--- /dev/null
+++ b/arch/arm/boot/dts/axm5508-amarillo.dts
@@ -0,0 +1,221 @@
+/*
+ * arch/arm/boot/dts/axm5516-amarillo.dts
+ *
+ * Copyright (C) 2013 LSI
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+/dts-v1/;
+
+/memreserve/ 0x00000000 0x00400000;
+
+/include/ "axm55xx.dtsi"
+/include/ "axm5508-cpus.dtsi"
+
+/ {
+	model = "Amarillo AXM5516";
+	compatible = "lsi,axm5516-amarillo", "lsi,axm5516";
+
+	memory {
+		device_type = "memory";
+		reg = <0 0x00000000 0 0x40000000>;
+	};
+};
+
+&femac {
+	status = "okay";
+	mdio-clock-offset = <0x1c>;
+	mdio-clock-period = <0xf0>;
+};
+
+&sm0 {
+	status = "okay";
+};
+
+&sm1 {
+	status = "okay";
+};
+
+&pcie0 {
+	status = "okay";
+};
+
+&pcie1 {
+	status = "okay";
+};
+
+&rio0 {
+	status = "okay";
+};
+
+&rio1 {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&mtc {
+	status = "okay";
+};
+
+&serial0 {
+	status = "okay";
+};
+
+&serial1 {
+	status = "okay";
+};
+
+&serial2 {
+	status = "okay";
+};
+
+&serial3 {
+	status = "okay";
+};
+
+&gpio0 {
+	status = "okay";
+};
+
+&gpio1 {
+	status = "okay";
+};
+
+&spics {
+	status = "okay";
+};
+
+&spi0 {
+	status = "okay";
+
+	flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "s25fl129p1";
+		reg = <0x0>;
+		spi-max-frequency = <25000000>;
+		pl022,com-mode = <0>;
+
+		partition at 0 {
+			label = "spl";
+			reg = <0x0 0x40000>;
+		};
+		partition at 40000 {
+			label = "parameters0";
+			reg = <0x40000 0x10000>;
+		};
+		partition at 50000 {
+			label = "parameters1";
+			reg = <0x50000 0x10000>;
+		};
+		partition at 60000 {
+			label = "env0";
+			reg = <0x60000 0x10000>;
+		};
+		partition at 70000 {
+			label = "env1";
+			reg = <0x70000 0x10000>;
+		};
+		partition at 100000 {
+			label = "u-boot0";
+			reg = <0x100000 0x200000>;
+		};
+		partition at 300000 {
+			label = "u-boot1";
+			reg = <0x100000 0x200000>;
+		};
+	};
+};
+
+&i2c0 {
+	status = "okay";
+
+	sysfpga at 40 {
+		reg = <0x40>;
+	};
+};
+
+&i2c1 {
+	status = "okay";
+
+	pxa9555 at 20 {
+		compatible = "pca9555";
+		reg = <0x20>;
+	};
+
+	adt7467 at 2e {
+		compatible = "adt7473";
+		reg = <0x2e>;
+	};
+
+	temp at 18 {
+		compatible = "jc42";
+		reg = <0x18>;
+	};
+
+	temp at 1a {
+		compatible = "jc42";
+		reg = <0x1a>;
+	};
+
+	spd at 50 {
+		compatible = "spd";
+		reg = <0x50>;
+	};
+
+	spd at 52 {
+		compatible = "spd";
+		reg = <0x52>;
+	};
+
+	eeprom at 54 {
+		compatible = "24c1024";
+		reg = <0x54>;
+		pagesize = <128>;
+	};
+};
+
+&i2c2 {
+	status = "okay";
+
+	pxa9544 at 70 {
+		compatible = "pca9544";
+		reg = <0x70>;
+	};
+
+	pxa9544 at 71 {
+		compatible = "pca9544";
+		reg = <0x71>;
+	};
+
+	pxa9544 at 72 {
+		compatible = "pca9544";
+		reg = <0x72>;
+	};
+
+	pxa9544 at 73 {
+		compatible = "pca9544";
+		reg = <0x73>;
+	};
+};
+
+&i2c3 {
+	status = "okay";
+
+	ltc2974 at 5c {
+		compatible = "ltc2974";
+		reg = <0x5c>;
+	};
+
+	ltc2974 at 5d {
+		compatible = "ltc2974";
+		reg = <0x5d>;
+	};
+};
diff --git a/arch/arm/boot/dts/axm5512-amarillo.dts b/arch/arm/boot/dts/axm5512-amarillo.dts
new file mode 100644
index 0000000..bc51270
--- /dev/null
+++ b/arch/arm/boot/dts/axm5512-amarillo.dts
@@ -0,0 +1,221 @@
+/*
+ * arch/arm/boot/dts/axm5516-amarillo.dts
+ *
+ * Copyright (C) 2013 LSI
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+/dts-v1/;
+
+/memreserve/ 0x00000000 0x00400000;
+
+/include/ "axm55xx.dtsi"
+/include/ "axm5512-cpus.dtsi"
+
+/ {
+	model = "Amarillo AXM5516";
+	compatible = "lsi,axm5516-amarillo", "lsi,axm5516";
+
+	memory {
+		device_type = "memory";
+		reg = <0 0x00000000 0 0x40000000>;
+	};
+};
+
+&femac {
+	status = "okay";
+	mdio-clock-offset = <0x1c>;
+	mdio-clock-period = <0xf0>;
+};
+
+&sm0 {
+	status = "okay";
+};
+
+&sm1 {
+	status = "okay";
+};
+
+&pcie0 {
+	status = "okay";
+};
+
+&pcie1 {
+	status = "okay";
+};
+
+&rio0 {
+	status = "okay";
+};
+
+&rio1 {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&mtc {
+	status = "okay";
+};
+
+&serial0 {
+	status = "okay";
+};
+
+&serial1 {
+	status = "okay";
+};
+
+&serial2 {
+	status = "okay";
+};
+
+&serial3 {
+	status = "okay";
+};
+
+&gpio0 {
+	status = "okay";
+};
+
+&gpio1 {
+	status = "okay";
+};
+
+&spics {
+	status = "okay";
+};
+
+&spi0 {
+	status = "okay";
+
+	flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "s25fl129p1";
+		reg = <0x0>;
+		spi-max-frequency = <25000000>;
+		pl022,com-mode = <0>;
+
+		partition at 0 {
+			label = "spl";
+			reg = <0x0 0x40000>;
+		};
+		partition at 40000 {
+			label = "parameters0";
+			reg = <0x40000 0x10000>;
+		};
+		partition at 50000 {
+			label = "parameters1";
+			reg = <0x50000 0x10000>;
+		};
+		partition at 60000 {
+			label = "env0";
+			reg = <0x60000 0x10000>;
+		};
+		partition at 70000 {
+			label = "env1";
+			reg = <0x70000 0x10000>;
+		};
+		partition at 100000 {
+			label = "u-boot0";
+			reg = <0x100000 0x200000>;
+		};
+		partition at 300000 {
+			label = "u-boot1";
+			reg = <0x100000 0x200000>;
+		};
+	};
+};
+
+&i2c0 {
+	status = "okay";
+
+	sysfpga at 40 {
+		reg = <0x40>;
+	};
+};
+
+&i2c1 {
+	status = "okay";
+
+	pxa9555 at 20 {
+		compatible = "pca9555";
+		reg = <0x20>;
+	};
+
+	adt7467 at 2e {
+		compatible = "adt7473";
+		reg = <0x2e>;
+	};
+
+	temp at 18 {
+		compatible = "jc42";
+		reg = <0x18>;
+	};
+
+	temp at 1a {
+		compatible = "jc42";
+		reg = <0x1a>;
+	};
+
+	spd at 50 {
+		compatible = "spd";
+		reg = <0x50>;
+	};
+
+	spd at 52 {
+		compatible = "spd";
+		reg = <0x52>;
+	};
+
+	eeprom at 54 {
+		compatible = "24c1024";
+		reg = <0x54>;
+		pagesize = <128>;
+	};
+};
+
+&i2c2 {
+	status = "okay";
+
+	pxa9544 at 70 {
+		compatible = "pca9544";
+		reg = <0x70>;
+	};
+
+	pxa9544 at 71 {
+		compatible = "pca9544";
+		reg = <0x71>;
+	};
+
+	pxa9544 at 72 {
+		compatible = "pca9544";
+		reg = <0x72>;
+	};
+
+	pxa9544 at 73 {
+		compatible = "pca9544";
+		reg = <0x73>;
+	};
+};
+
+&i2c3 {
+	status = "okay";
+
+	ltc2974 at 5c {
+		compatible = "ltc2974";
+		reg = <0x5c>;
+	};
+
+	ltc2974 at 5d {
+		compatible = "ltc2974";
+		reg = <0x5d>;
+	};
+};
-- 
1.7.9.5



More information about the linux-yocto mailing list