From: John Jacques <[email protected]>

Signed-off-by: John Jacques <[email protected]>
---
 arch/arm64/boot/dts/intel/Makefile         |   3 +-
 arch/arm64/boot/dts/intel/axc6732-waco.dts | 248 +++++++++++++++++++++++++++++
 arch/arm64/boot/dts/intel/axc67xx.dtsi     |  33 +++-
 3 files changed, 276 insertions(+), 8 deletions(-)
 create mode 100644 arch/arm64/boot/dts/intel/axc6732-waco.dts

diff --git a/arch/arm64/boot/dts/intel/Makefile 
b/arch/arm64/boot/dts/intel/Makefile
index 6d2e183..da244aa 100644
--- a/arch/arm64/boot/dts/intel/Makefile
+++ b/arch/arm64/boot/dts/intel/Makefile
@@ -3,7 +3,8 @@ dtb-$(CONFIG_ARCH_AXXIA) += \
        axm5606-emu.dtb \
        axm5616-victoria.dtb \
        axc6704-sim.dtb axc6716-sim.dtb axc6732-sim.dtb \
-       axc6704-emu.dtb axc6712-emu.dtb
+       axc6704-emu.dtb axc6712-emu.dtb \
+       axc6732-waco.dtb
 
 always         := $(dtb-y)
 subdir-y       := $(dts-dirs)
diff --git a/arch/arm64/boot/dts/intel/axc6732-waco.dts 
b/arch/arm64/boot/dts/intel/axc6732-waco.dts
new file mode 100644
index 0000000..82c4e65
--- /dev/null
+++ b/arch/arm64/boot/dts/intel/axc6732-waco.dts
@@ -0,0 +1,248 @@
+/*
+ * arch/arm64/boot/dts/intel/axc6732-waco.dts
+ *
+ * Copyright (C) 2016 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.
+ */
+
+/dts-v1/;
+
+#include "axc67xx.dtsi"
+#include "axc6732-cpus.dtsi"
+
+/ {
+       model = "Lionfish";
+       compatible = "lsi,axc6732";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x00000000 0 0x40000000>;
+       };
+
+       soc {
+       };
+};
+
+&serial0 {
+       status = "okay";
+};
+
+&usb0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
+
+&nemac {
+       status = "okay";
+       phy-handle = <&phy0>;
+};
+
+&mdio0 {
+       status = "okay";
+       lsi,mdio-clk-offset = <0x1c>;
+       lsi,mdio-clk-period = <0xf0>;
+       max-speed = <10>;
+
+       phy0: ethernet-phy@3 {
+               reg = <0x7>;
+       };
+};
+
+&spi0 {
+       status = "okay";
+
+       flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "s25fl016k";
+               reg = <0>;
+               spi-max-frequency = <5000000>;
+               pl022,com-mode = <1>;
+
+               partition@0 {
+                       label = "spl-0";
+                       reg = <0x0 0x40000>;
+               };
+               partition@40000 {
+                       label = "spl-1";
+                       reg = <0x40000 0x40000>;
+               };
+               partition@80000 {
+                       label = "parameters-0";
+                       reg = <0x80000 0x10000>;
+               };
+               partition@90000 {
+                       label = "parameters-1";
+                       reg = <0x90000 0x10000>;
+               };
+               partition@a0000 {
+                       label = "env-0";
+                       reg = <0xa0000 0x10000>;
+               };
+               partition@b0000 {
+                       label = "env-1";
+                       reg = <0xb0000 0x10000>;
+               };
+               partition@100000 {
+                       label = "u-boot-0";
+                       reg = <0x100000 0x200000>;
+               };
+               partition@300000 {
+                       label = "u-boot-1";
+                       reg = <0x300000 0x200000>;
+               };
+       };
+
+       flash@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "s25fl016k";
+               reg = <1>;
+               spi-max-frequency = <5000000>;
+               pl022,com-mode = <1>;
+
+               partition@0 {
+                       label = "spl-0";
+                       reg = <0x0 0x40000>;
+               };
+               partition@40000 {
+                       label = "spl-1";
+                       reg = <0x40000 0x40000>;
+               };
+               partition@80000 {
+                       label = "parameters-0";
+                       reg = <0x80000 0x10000>;
+               };
+               partition@90000 {
+                       label = "parameters-1";
+                       reg = <0x90000 0x10000>;
+               };
+               partition@a0000 {
+                       label = "env-0";
+                       reg = <0xa0000 0x10000>;
+               };
+               partition@b0000 {
+                       label = "env-1";
+                       reg = <0xb0000 0x10000>;
+               };
+               partition@100000 {
+                       label = "u-boot-0";
+                       reg = <0x100000 0x200000>;
+               };
+               partition@300000 {
+                       label = "u-boot-1";
+                       reg = <0x300000 0x200000>;
+               };
+       };
+};
+
+&i2c0 {
+       status = "okay";
+};
+
+&i2c1 {
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+};
+
+&i2c3 {
+       status = "okay";
+};
+
+&i2c4 {
+       status = "okay";
+};
+
+&i2c5 {
+       status = "okay";
+};
+
+&i2c6 {
+       status = "okay";
+};
+
+&i2c7 {
+       status = "okay";
+};
+
+&i2c8 {
+       status = "okay";
+};
+
+&i2c9 {
+       status = "okay";
+};
+
+&i2c10 {
+       status = "okay";
+};
+
+&i2c11 {
+       status = "okay";
+};
+
+&i2c12 {
+       status = "okay";
+};
+
+&gpio0 {
+       status = "okay";
+};
+
+&gpio1 {
+       status = "okay";
+};
+
+&gpio2 {
+       status = "okay";
+};
+
+&gpio3 {
+       status = "okay";
+};
+
+&gpio4 {
+       status = "okay";
+};
+
+&gpio5 {
+       status = "okay";
+};
+
+&gpio6 {
+       status = "okay";
+};
+
+&gpio7 {
+       status = "okay";
+};
+
+&gpio8 {
+       status = "okay";
+};
+
+&gpio9 {
+       status = "okay";
+};
+
+&gpio10 {
+       status = "okay";
+};
+
+&gpio11 {
+       status = "okay";
+};
+
+&mtc {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/intel/axc67xx.dtsi 
b/arch/arm64/boot/dts/intel/axc67xx.dtsi
index 43592de..70c69d7 100644
--- a/arch/arm64/boot/dts/intel/axc67xx.dtsi
+++ b/arch/arm64/boot/dts/intel/axc67xx.dtsi
@@ -103,10 +103,15 @@
                ranges;
 
                syscon: syscon@8002000000 {
-                       compatible = "lsi,axxia-syscon", "syscon";
+                       compatible = "intel,axxia-syscon", "syscon";
                        reg = <0x80 0x02c00000 0 0x40000>;
                };
 
+               reset: reset@2010031000 {
+                       compatible = "intel,axm56xx-reset";
+                       syscon = <&syscon>;
+               };
+
                nemac: ethernet@8080240000 {
                        compatible = "intel,nemac";
                        reg = <0x80 0x80240000 0 0x10000>;
@@ -133,19 +138,33 @@
                };
 
                usb0: usb@9000000000 {
-                       compatible = "snps,dwc3";
-                       reg = <0x90 0x00000000 0 0x10000>;
-                       interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+                       compatible = "intel,axxia-dwc3";
                        dma-coherent;
                        status = "disabled";
+                       #address-cells = <2>;
+                       #size-cells = <2>;
+                       ranges;
+                       dwc3 {
+                               compatible = "snps,dwc3";
+                               reg = <0x90 0x00000000 0 0x100000>;
+                               interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+                               snps,axxia_usb_quirk;
+                       };
                };
 
                usb1: usb@9800000000 {
-                       compatible = "snps,dwc3";
-                       reg = <0x98 0x00000000 0 0x10000>;
-                       interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+                       compatible = "intel,axxia-dwc3";
                        dma-coherent;
                        status = "disabled";
+                       #address-cells = <2>;
+                       #size-cells = <2>;
+                       ranges;
+                       dwc3 {
+                               compatible = "snps,dwc3";
+                               reg = <0x98 0x00000000 0 0x100000>;
+                               interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+                               snps,axxia_usb_quirk;
+                       };
                };
 
                gpdma0: gpdma@8005020000 {
-- 
2.7.4

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to