Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62c5553a authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD
Browse files

ARM: at91: dt: enable usb ehci for sam9g45 and sam9x5



make the ECHI depends on ARCH_AT91

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: devicetree-discuss@lists.ozlabs.org
parent 9d843003
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -41,5 +41,9 @@
					   &pioD 20 0
					   &pioD 20 0
					  >;
					  >;
		};
		};

		usb1: ehci@00700000 {
			status = "okay";
		};
	};
	};
};
};
+7 −0
Original line number Original line Diff line number Diff line
@@ -224,6 +224,13 @@
			interrupts = <22 4>;
			interrupts = <22 4>;
			status = "disabled";
			status = "disabled";
		};
		};

		usb1: ehci@00800000 {
			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
			reg = <0x00800000 0x100000>;
			interrupts = <22 4>;
			status = "disabled";
		};
	};
	};


	i2c@0 {
	i2c@0 {
+4 −0
Original line number Original line Diff line number Diff line
@@ -76,6 +76,10 @@
			atmel,vbus-gpio = <&pioD 1 0
			atmel,vbus-gpio = <&pioD 1 0
					   &pioD 3 0>;
					   &pioD 3 0>;
		};
		};

		usb1: ehci@00800000 {
			status = "okay";
		};
	};
	};


	leds {
	leds {
+7 −0
Original line number Original line Diff line number Diff line
@@ -214,6 +214,13 @@
			interrupts = <22 4>;
			interrupts = <22 4>;
			status = "disabled";
			status = "disabled";
		};
		};

		usb1: ehci@00700000 {
			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
			reg = <0x00700000 0x100000>;
			interrupts = <22 4>;
			status = "disabled";
		};
	};
	};


	i2c@0 {
	i2c@0 {
+1 −0
Original line number Original line Diff line number Diff line
@@ -233,6 +233,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
	CLKDEV_CON_DEV_ID("t0_clk", "fff7c000.timer", &tcb0_clk),
	CLKDEV_CON_DEV_ID("t0_clk", "fff7c000.timer", &tcb0_clk),
	CLKDEV_CON_DEV_ID("t0_clk", "fffd4000.timer", &tcb0_clk),
	CLKDEV_CON_DEV_ID("t0_clk", "fffd4000.timer", &tcb0_clk),
	CLKDEV_CON_DEV_ID("hclk", "700000.ohci", &uhphs_clk),
	CLKDEV_CON_DEV_ID("hclk", "700000.ohci", &uhphs_clk),
	CLKDEV_CON_DEV_ID("ehci_clk", "800000.ehci", &uhphs_clk),
	/* fake hclk clock */
	/* fake hclk clock */
	CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &uhphs_clk),
	CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &uhphs_clk),
	CLKDEV_CON_ID("pioA", &pioA_clk),
	CLKDEV_CON_ID("pioA", &pioA_clk),
Loading