[linux-yocto] [PATCH 15/15] axxia: Device Tree Updates

Daniel Dragomir daniel.dragomir at windriver.com
Fri Jan 8 07:51:46 PST 2016


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

Remove the simulation versions as simulation now matches
hardware.

Remove the non-specific (compatible="spidev") spidev device.
Having compatible="spidev" causes the driver to issue a
warning.

Signed-off-by: John Jacques <john.jacques at intel.com>
---
 arch/arm64/boot/dts/intel/axc67xx-sim.dtsi | 566 -----------------------------
 arch/arm64/boot/dts/intel/axm5604-sim.dts  |   8 -
 arch/arm64/boot/dts/intel/axm56xx-sim.dtsi | 393 --------------------
 3 files changed, 967 deletions(-)
 delete mode 100644 arch/arm64/boot/dts/intel/axc67xx-sim.dtsi
 delete mode 100644 arch/arm64/boot/dts/intel/axm56xx-sim.dtsi

diff --git a/arch/arm64/boot/dts/intel/axc67xx-sim.dtsi b/arch/arm64/boot/dts/intel/axc67xx-sim.dtsi
deleted file mode 100644
index d711aa9..0000000
--- a/arch/arm64/boot/dts/intel/axc67xx-sim.dtsi
+++ /dev/null
@@ -1,566 +0,0 @@
-/*
- * arch/arm64/boot/dts/intel/axc67xx.dtsi
- *
- * Copyright (C) 2015 Intel Corp.
- *
- * 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.
- */
-
-#include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/clock/lsi,axm5516-clks.h>
-
-#include "skeleton.dtsi"
-
-/ {
-	interrupt-parent = <&gic>;
-
-	aliases {
-		serial0	  = &serial0;
-		serial1   = &serial1;
-		serial2	  = &serial2;
-		timer	  = &timer0;
-		ethernet0 = &nemac;
-		i2c0	  = &i2c0;
-		i2c1	  = &i2c1;
-		i2c2	  = &i2c2;
-		i2c3	  = &i2c3;
-		i2c4	  = &i2c4;
-		i2c5	  = &i2c5;
-		i2c6	  = &i2c6;
-		i2c7	  = &i2c7;
-		i2c8	  = &i2c8;
-		i2c9	  = &i2c9;
-		i2c10	  = &i2c10;
-		i2c11	  = &i2c11;
-		i2c12	  = &i2c12;
-		spi0	  = &spi0;
-		spi1	  = &spi1;
-		spi2	  = &spi2;
-		gpdma0	  = &gpdma0;
-		gpdma1	  = &gpdma1;
-	};
-
-	clocks {
-		compatible = "simple-bus";
-		#address-cells = <2>;
-		#size-cells = <1>;
-		ranges;
-
-		clk_ref {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <125000000>;
-		};
-
-		clks: dummy-clock {
-			compatible = "fixed-clock";
-			#clock-cells = <1>;
-			clock-frequency = <100000000>;
-		};
-	};
-
-	gic: interrupt-controller at 8010010000 {
-		compatible = "arm,gic-v3";
-		#interrupt-cells = <3>;
-		#address-cells = <0>;
-		interrupt-controller;
-		reg = <0x80 0x10010000 0x10000>,
-		      <0x80 0x10100000 0x200000>;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-	};
-
-	timer {
-		compatible = "arm,armv8-timer";
-		interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 14 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 10 IRQ_TYPE_EDGE_RISING>;
-	};
-
-	psci {
-		compatible      = "arm,psci-0.2";
-		method          = "smc";
-	};
-
-	soc {
-		compatible = "simple-bus";
-		device_type = "soc";
-		#address-cells = <2>;
-		#size-cells = <1>;
-		interrupt-parent = <&gic>;
-		ranges;
-
-		syscon: syscon at 8002000000 {
-			compatible = "lsi,axxia-syscon", "syscon";
-			reg = <0x80 0x02000000 0x40000>;
-		};
-
-		nemac: ethernet at 8080240000 {
-			compatible = "lsi,nemac";
-			reg = <0x80 0x80240000 0x1000>;
-			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		mdio0: mdio at 8080260000 {
-			compatible = "lsi,axm-mdio";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80260000 0x1000>;
-			status = "disabled";
-		};
-
-		mdio1: mdio at 8080270000 {
-			compatible = "lsi,axm-mdio";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80270000 0x1000>;
-			status = "disabled";
-		};
-
-		usb0: usb at 9000000000 {
-			compatible = "snps,dwc3";
-			reg = <0x90 0x00000000 0x10000>;
-			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		usb1: usb at 9800000000 {
-			compatible = "snps,dwc3";
-			reg = <0x98 0x00000000 0x10000>;
-			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		gpdma0: gpdma at 8005020000 {
-                        compatible = "lsi,dma32";
-                        reg = <0x80 0x05020000 0x10000>;
-			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
-					<GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
-                        channel0 {
-                                interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-
-                        channel1 {
-                                interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-                };
-
-                gpdma1: gpdma at 8005030000 {
-                        compatible = "lsi,dma32";
-                        reg = <0x80 0x05030000 0x10000>;
-			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
-					<GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-                        channel0 {
-                                interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-
-                        channel1 {
-                                interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-                };
-
-		i2c0: i2c at 8080600000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80600000 0x1000>;
-			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c1: i2c at 8080610000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80610000 0x1000>;
-			interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c2: i2c at 8080620000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80620000 0x1000>;
-			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c3: i2c at 8080630000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80630000 0x1000>;
-			interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c4: i2c at 8080640000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80640000 0x1000>;
-			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c5: i2c at 8080650000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80650000 0x1000>;
-			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c6: i2c at 8080660000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80660000 0x1000>;
-			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c7: i2c at 8080670000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80670000 0x1000>;
-			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c8: i2c at 8080680000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80680000 0x1000>;
-			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c9: i2c at 8080690000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80690000 0x1000>;
-			interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c10: i2c at 80806a0000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x806a0000 0x1000>;
-			interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c11: i2c at 80806b0000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x806b0000 0x1000>;
-			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c12: i2c at 80806c0000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x806c0000 0x1000>;
-			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		mtc: mtc at 8080210000 {
-			compatible = "lsi,mtc";
-			reg = <0x80 0x80210000 0x10000>;
-			interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		trng: trng at 8031060000 {
-			compatible = "lsi,trng";
-			reg = <0x80 0x31060000 0x20000>;
-			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		pci0: pci at c000000000 {
-			compatible = "lsi,plb-pciex";
-			device_type = "pci";
-			#interrupt-cells = <1>;
-			#size-cells = <2>;
-			#address-cells = <3>;
-			reg = <0xc0 0x38000000 0x01000000>,
-			      <0xa0 0x02000000 0x00008000>;
-			/* Outbound: <PCI addr (3)> <CPU addr (2)> <Size (2)>*/
-			ranges = <0x03000000 0x00000000 0x80000000
-				  0xc0 0x00000000 0x00 0x20000000>;
-			/* Inbound: <PCI addr (3)> <CPU addr (2)> <Size (2)>*/
-			dma-ranges = <0x03000000 0x00000000 0x00000000
-				      0x00 0x00000000 0x00 0x40000000>;
-			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		amba {
-			compatible = "arm,amba-bus";
-			#address-cells = <2>;
-			#size-cells = <1>;
-			ranges;
-
-			serial0: uart at 8080000000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80000000 0x10000>;
-				interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			serial1: uart at 8080010000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80010000 0x10000>;
-				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			serial2: uart at 8080020000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80020000 0x10000>;
-				interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			timer0: timer at 8080220000 {
-				compatible = "arm,sp804", "arm,primecell";
-				reg = <0x80 0x80220000 0x10000>;
-				interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-			};
-
-			gpio0: gpio at 8080700000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80700000 0x10000>;
-				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio1: gpio at 8080710000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80710000 0x10000>;
-				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio2: gpio at 8080720000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80720000 0x10000>;
-				interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio3: gpio at 8080730000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80730000 0x10000>;
-				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio4: gpio at 8080740000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80740000 0x10000>;
-				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio5: gpio at 8080750000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80750000 0x10000>;
-				interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio6: gpio at 8080760000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80760000 0x10000>;
-				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio7: gpio at 8080770000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80770000 0x10000>;
-				interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio8: gpio at 8080780000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80780000 0x10000>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio9: gpio at 8080790000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80790000 0x10000>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio10: gpio at 80807a0000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x807a0000 0x10000>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio11: gpio at 80807b0000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x807b0000 0x10000>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			spi0: ssp at 8080100000 {
-				compatible = "arm,pl022", "arm,primecell";
-				arm,primecell-periphid = <0x000b6022>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				reg = <0x80 0x80100000 0x1000>;
-				interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
-				num-cs = <5>;
-				clocks = <&clks AXXIA_CLK_PER>, <&clks AXXIA_CLK_PER>;
-				clock-names = "spi", "apb_pclk";
-				status = "disabled";
-			};
-
-			spi1: ssp at 8080110000 {
-				compatible = "arm,pl022", "arm,primecell";
-				arm,primecell-periphid = <0x000b6022>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				reg = <0x80 0x80110000 0x1000>;
-				interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
-				num-cs = <5>;
-				clocks = <&clks AXXIA_CLK_PER>, <&clks AXXIA_CLK_PER>;
-				clock-names = "spi", "apb_pclk";
-				status = "disabled";
-			};
-
-			spi2: ssp at 8080120000 {
-				compatible = "arm,pl022", "arm,primecell";
-				arm,primecell-periphid = <0x000b6022>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				reg = <0x80 0x80120000 0x1000>;
-				interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
-				num-cs = <5>;
-				clocks = <&clks AXXIA_CLK_PER>, <&clks AXXIA_CLK_PER>;
-				clock-names = "spi", "apb_pclk";
-				status = "disabled";
-			};
-		};
-	};
-};
-
-/*
-  Local Variables:
-  mode: C
-  End:
-*/
diff --git a/arch/arm64/boot/dts/intel/axm5604-sim.dts b/arch/arm64/boot/dts/intel/axm5604-sim.dts
index 3ce335e..969cf5b 100644
--- a/arch/arm64/boot/dts/intel/axm5604-sim.dts
+++ b/arch/arm64/boot/dts/intel/axm5604-sim.dts
@@ -83,14 +83,6 @@
 &spi0 {
 	status = "okay";
 
-	icm at 0 {
-		#address-cells = <0x1>;
-		#size-cells = <0x1>;
-		compatible = "spidev";
-		reg = <0x1>;
-		spi-max-frequency = <0xf4240>;
-		pl022,com-mode = <0x1>;
-	};
 	flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/intel/axm56xx-sim.dtsi b/arch/arm64/boot/dts/intel/axm56xx-sim.dtsi
deleted file mode 100644
index 51c0327..0000000
--- a/arch/arm64/boot/dts/intel/axm56xx-sim.dtsi
+++ /dev/null
@@ -1,393 +0,0 @@
-/*
- * arch/arm64/boot/dts/intel/axm56xx_sim.dtsi
- *
- * Copyright (C) 2014 Avago Technologies
- *
- * 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.
- */
-
-#include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/clock/lsi,axm5516-clks.h>
-
-#include "skeleton.dtsi"
-
-/ {
-	interrupt-parent = <&gic>;
-
-	aliases {
-		serial0	  = &serial0;
-		serial1   = &serial1;
-		serial2	  = &serial2;
-		serial3	  = &serial3;
-		timer	  = &timer0;
-		ethernet0 = &femac;
-		i2c0	  = &i2c0;
-		i2c1	  = &i2c1;
-		i2c2	  = &i2c2;
-		i2c3	  = &i2c3;
-		gpdma0	  = &gpdma0;
-		gpdma1	  = &gpdma1;
-	};
-
-	clocks {
-		compatible = "simple-bus";
-		#address-cells = <2>;
-		#size-cells = <1>;
-		ranges;
-
-		clk_ref {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <125000000>;
-		};
-
-		clks: dummy-clock {
-			compatible = "fixed-clock";
-			#clock-cells = <1>;
-			clock-frequency = <100000000>;
-		};
-	};
-
-	gic: interrupt-controller at 8010010000 {
-		compatible = "arm,gic-v3";
-		#interrupt-cells = <3>;
-		#address-cells = <0>;
-		interrupt-controller;
-		reg = <0x80 0x10000000 0x10000>,
-		      <0x80 0x10200000 0x200000>;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-	};
-
-	timer {
-		compatible = "arm,armv8-timer";
-		interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 14 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>,
-			     <GIC_PPI 10 IRQ_TYPE_EDGE_RISING>;
-	};
-
-	psci {
-		compatible      = "arm,psci-0.2";
-		method          = "smc";
-	};
-
-	soc {
-		compatible = "simple-bus";
-		device_type = "soc";
-		#address-cells = <2>;
-		#size-cells = <1>;
-		interrupt-parent = <&gic>;
-		ranges;
-
-		syscon: syscon at 8002c00000 {
-			compatible = "intel,axxia-syscon", "syscon";
-			reg = <0x80 0x02c00000 0x40000>;
-		};
-
-		reset: reset at 2010031000 {
-			compatible = "intel,axm56xx-reset";
-			syscon = <&syscon>;
-		};
-
-
-		femac: ethernet at 8080600000 {
-			compatible = "lsi,femac";
-			reg = <0x80 0x80600000 0x4000>;
-			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		nemac: ethernet at 8080240000 {
-			compatible = "intel,nemac";
-			reg = <0x80 0x80240000 0x10000>;
-			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
-				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		mdio: mdio at 8080200000 {
-			compatible = "lsi,axm-mdio";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80200000 0x1000>;
-			status = "disabled";
-		};
-
-		usb0: usb at 9000000000 {
-			compatible = "synopsys,dwc3";
-			reg = <0x90 0x00000000 0x10000>;
-			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		sata0: sata at a000000000 {
-			compatible = "snps,dwc-ahci";
-			reg = <0xa0 0x00000000 0x10000>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		sata1: sata at a000010000 {
-			compatible = "snps,dwc-ahci";
-			reg = <0xa0 0x00010000 0x10000>;
-			dma-coherent;
-			status = "disabled";
-		};
-
-		gpdma0: gpdma at 8004120000 {
-                        compatible = "lsi,dma32";
-                        reg = <0x80 0x04120000 0x10000>;
-			interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
-					<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
-                        channel0 {
-                                interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-
-                        channel1 {
-                                interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-                };
-
-                gpdma1: gpdma at 8004130000 {
-                        compatible = "lsi,dma32";
-                        reg = <0x80 0x04130000 0x10000>;
-			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
-					<GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-                        channel0 {
-                                interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-
-                        channel1 {
-                                interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
-                        };
-                };
-
-		i2c0: i2c at 8080080000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80080000 0x1000>;
-			interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c1: i2c at 8080090000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x80090000 0x1000>;
-			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c2: i2c at 80800a0000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x800a0000 0x1000>;
-			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		i2c3: i2c at 80800b0000 {
-			compatible = "lsi,api2c";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x80 0x800b0000 0x1000>;
-			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clks AXXIA_CLK_PER>;
-			clock-names = "i2c";
-			status = "disabled";
-		};
-
-		mtc: mtc at 8080210000 {
-			compatible = "lsi,mtc";
-			reg = <0x80 0x80210000 0x10000>;
-			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-		trng: trng at 8031060000 {
-			compatible = "lsi,trng";
-			reg = <0x80 0x31060000 0x20000>;
-			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-		pci0: pcie at c000000000 {
-			compatible = "intel,axxia-pcie";
-			device_type = "pci";
-			reg = <0xa0 0x02000000 0x00100000 /* dbi */
-				0xa0 0x03000000 0x00008000 /* AXI gpreg */
-				0xa0 0x03008000 0x00008000>; /* CC gpreg */
-			reg-names = "dbi", "axi_gpreg", "cc_gpreg";
-			#interrupt-cells = <1>;
-			#address-cells = <3>;
-			#size-cells = <2>;
-			num-lanes = <1>;
-			ranges = <0x00000000 0x000000c0 0x40000000
-				0xc0 0x40000000
-				0x00 0x10000000         /* config space */
-				0x03000000 0x00000000 0xa0000000
-				0xc0 0x00000000
-				0x00 0x40000000>;       /* outbound mem */
-			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-		pci1: pcie at c800000000 {
-			compatible = "intel,axxia-pcie";
-			device_type = "pci";
-			reg = <0xa0 0x04000000 0x00100000 /* dbi */
-				0xa0 0x05000000 0x00008000 /* AXI gpreg */
-				0xa0 0x05008000 0x00008000>; /* CC gpreg */
-			reg-names = "dbi", "axi_gpreg", "cc_gpreg";
-			#interrupt-cells = <1>;
-			#address-cells = <3>;
-			#size-cells = <2>;
-			num-lanes = <1>;
-			ranges = <0x00000000 0x000000c8 0x40000000
-				0xc8 0x40000000
-				0x00 0x10000000         /* config space */
-				0x03000000 0x00000000 0xa0000000
-				0xc8 0x00000000
-				0x00 0x40000000>;       /* outbound mem */
-			interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-		pci2: pcie at d000000000 {
-			compatible = "intel,axxia-pcie";
-			device_type = "pci";
-			reg = <0xa0 0x06000000 0x00100000 /* dbi */
-				0xa0 0x07000000 0x00008000 /* AXI gpreg */
-				0xa0 0x07008000 0x00008000>; /* CC gpreg */
-			reg-names = "dbi", "axi_gpreg", "cc_gpreg";
-			#interrupt-cells = <1>;
-			#address-cells = <3>;
-			#size-cells = <2>;
-			num-lanes = <1>;
-			ranges = <0x00000000 0x000000d0 0x40000000
-				0xd0 0x40000000
-				0x00 0x10000000         /* config space */
-				0x03000000 0x00000000 0xa0000000
-				0xd0 0x00000000
-				0x00 0x40000000>;       /* outbound mem */
-			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-		amba {
-			compatible = "arm,amba-bus";
-			#address-cells = <2>;
-			#size-cells = <1>;
-			ranges;
-
-			serial0: uart at 8080000000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80000000 0x10000>;
-				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			serial1: uart at 8080010000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80010000 0x10000>;
-				interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			serial2: uart at 8080020000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80020000 0x10000>;
-				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			serial3: uart at 8080030000 {
-				compatible = "arm,pl011", "arm,primecell";
-				reg = <0x80 0x80030000 0x10000>;
-				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			timer0: timer at 8080220000 {
-				compatible = "arm,sp804", "arm,primecell";
-				reg = <0x80 0x80220000 0x10000>;
-				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-			};
-
-			gpio0: gpio at 8080180000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80180000 0x10000>;
-				interrupts = <GIC_SPI  6 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI  7 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI  8 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI  9 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			gpio1: gpio at 8080190000 {
-				#gpio-cells = <2>;
-				compatible = "arm,pl061", "arm,primecell";
-				gpio-controller;
-				reg = <0x80 0x80190000 0x10000>;
-				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks AXXIA_CLK_PER>;
-				clock-names = "apb_pclk";
-				status = "disabled";
-			};
-
-			spi0: ssp at 8080100000 {
-				compatible = "arm,pl022", "arm,primecell";
-				arm,primecell-periphid = <0x000b6022>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				reg = <0x80 0x80100000 0x1000>;
-				interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
-				num-cs = <5>;
-				clocks = <&clks AXXIA_CLK_PER>, <&clks AXXIA_CLK_PER>;
-				clock-names = "spi", "apb_pclk";
-				status = "disabled";
-			};
-		};
-	};
-};
-
-/*
-  Local Variables:
-  mode: C
-  End:
-*/
-- 
1.9.1



More information about the linux-yocto mailing list