Skip to contentSkip to conversation

mach-tango DT updates for v4.11

PATCH New Marc Gonzalez 2 participants 5 messages Jan 19, 2017 – Jan 20, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover mach-tango DT updates for v4.11

Hello arm-soc maintainers,

Here are my DT updates for tango4.

I also have local changes for NAND and DMA nodes, but the DMA driver is not upstream yet, so it seems there's no point in sending these.

Marc Gonzalez (3):
ARM: dts: tango4: Add alias for eth0
ARM: dts: tango4: Import MMC nodes
ARM: dts: tango4: Import USB nodes

 arch/arm/boot/dts/tango4-common.dtsi      | 46 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/tango4-vantage-1172.dts |  5 ++++
 2 files changed, 51 insertions(+)
#2 lore raw

PATCH 2/3 ARM: dts: tango4: Import MMC nodes

In reply to Marc Gonzalez

Tango4 provides 2 SD/SDIO/eMMC controllers.

---
 arch/arm/boot/dts/tango4-common.dtsi      | 16 ++++++++++++++++
 arch/arm/boot/dts/tango4-vantage-1172.dts |  4 ++++
 2 files changed, 20 insertions(+)
arch/arm/boot/dts/tango4-common.dtsi +16 -0
index dd7eb5f624d9..2eb92a2649ed 100644
@@ -97,6 +97,22 @@
 			clocks = <&xtal>;
 		};
 
+		mmc0: mmc at 21000 {
+			compatible = "arasan,sdhci-8.9a";
+			reg = <0x21000 0x200>;
+			clock-names = "clk_xin", "clk_ahb";
+			clocks = <&clkgen SDIO_CLK>, <&clkgen SYS_CLK>;
+			interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		mmc1: mmc at 21200 {
+			compatible = "arasan,sdhci-8.9a";
+			reg = <0x21200 0x200>;
+			clock-names = "clk_xin", "clk_ahb";
+			clocks = <&clkgen SDIO_CLK>, <&clkgen SYS_CLK>;
+			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		eth0: ethernet at 26000 {
 			compatible = "sigma,smp8734-ethernet";
 			reg = <0x26000 0x800>;
arch/arm/boot/dts/tango4-vantage-1172.dts +4 -0
index e27b4a7801ab..86d8df98802f 100644
@@ -35,3 +35,7 @@
 		reg = <4>;
 	};
 };
+
+&mmc1 {
+	non-removable; /* eMMC */
+};
Signature · 1 line
2.10.0
#3 lore raw

PATCH 3/3 ARM: dts: tango4: Import USB nodes

In reply to Marc Gonzalez

Tango4 provides 2 USB 2.0 controllers.

---
 arch/arm/boot/dts/tango4-common.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
arch/arm/boot/dts/tango4-common.dtsi +30 -0
index 2eb92a2649ed..0c8cad4d6ee6 100644
@@ -113,6 +113,36 @@
 			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
+		usb0: usb at 21400 {
+			compatible = "chipidea,usb2";
+			reg = <0x21400 0x200>;
+			interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
+			phys = <&usb0_phy>;
+			phy-names = "usb-phy";
+		};
+
+		usb0_phy: phy at 21700 {
+			compatible = "sigma,smp8642-usb-phy";
+			reg = <0x21700 0x100>;
+			#phy-cells = <0>;
+			clocks = <&clkgen USB_CLK>;
+		};
+
+		usb1: usb at 25400 {
+			compatible = "chipidea,usb2";
+			reg = <0x25400 0x200>;
+			interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
+			phys = <&usb1_phy>;
+			phy-names = "usb-phy";
+		};
+
+		usb1_phy: phy at 25700 {
+			compatible = "sigma,smp8642-usb-phy";
+			reg = <0x25700 0x100>;
+			#phy-cells = <0>;
+			clocks = <&clkgen USB_CLK>;
+		};
+
 		eth0: ethernet at 26000 {
 			compatible = "sigma,smp8734-ethernet";
 			reg = <0x26000 0x800>;
Signature · 1 line
2.10.0
#4 lore raw

cover mach-tango DT updates for v4.11

In reply to Marc Gonzalez
Quoted 11 lines · Marc Gonzalez

Hello arm-soc maintainers,

Here are my DT updates for tango4.

I also have local changes for NAND and DMA nodes, but the DMA driver is not upstream yet, so it seems there's no point in sending these.

Marc Gonzalez (3):
ARM: dts: tango4: Add alias for eth0
ARM: dts: tango4: Import MMC nodes
ARM: dts: tango4: Import USB nodes

Thanks, applied all three to next/dt!

-Olof