2012-07-05 15:56:09 +07:00
|
|
|
/*
|
|
|
|
* at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Atmel,
|
|
|
|
* 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 or later.
|
|
|
|
*/
|
|
|
|
/include/ "at91sam9x5cm.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Atmel AT91SAM9X5-EK";
|
|
|
|
compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb {
|
|
|
|
apb {
|
2012-11-19 18:24:02 +07:00
|
|
|
mmc0: mmc@f0008000 {
|
2012-11-19 23:38:18 +07:00
|
|
|
pinctrl-0 = <
|
|
|
|
&pinctrl_board_mmc0
|
|
|
|
&pinctrl_mmc0_slot0_clk_cmd_dat0
|
|
|
|
&pinctrl_mmc0_slot0_dat1_3>;
|
2012-11-19 18:24:02 +07:00
|
|
|
status = "okay";
|
|
|
|
slot@0 {
|
|
|
|
reg = <0>;
|
|
|
|
bus-width = <4>;
|
|
|
|
cd-gpios = <&pioD 15 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc1: mmc@f000c000 {
|
2012-11-19 23:38:18 +07:00
|
|
|
pinctrl-0 = <
|
|
|
|
&pinctrl_board_mmc1
|
|
|
|
&pinctrl_mmc1_slot0_clk_cmd_dat0
|
|
|
|
&pinctrl_mmc1_slot0_dat1_3>;
|
2012-11-19 18:24:02 +07:00
|
|
|
status = "okay";
|
|
|
|
slot@0 {
|
|
|
|
reg = <0>;
|
|
|
|
bus-width = <4>;
|
|
|
|
cd-gpios = <&pioD 14 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-07-05 15:56:09 +07:00
|
|
|
dbgu: serial@fffff200 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
usart0: serial@f801c000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
macb0: ethernet@f802c000 {
|
|
|
|
phy-mode = "rmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0: i2c@f8010000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@f8014000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c2: i2c@f8018000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-11-19 23:38:18 +07:00
|
|
|
|
|
|
|
pinctrl@fffff400 {
|
|
|
|
mmc0 {
|
|
|
|
pinctrl_board_mmc0: mmc0-board {
|
|
|
|
atmel,pins =
|
|
|
|
<3 15 0x0 0x5>; /* PD15 gpio CD pin pull up and deglitch */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc1 {
|
|
|
|
pinctrl_board_mmc1: mmc1-board {
|
|
|
|
atmel,pins =
|
|
|
|
<3 14 0x0 0x5>; /* PD14 gpio CD pin pull up and deglitch */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2012-07-05 15:56:09 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
usb0: ohci@00600000 {
|
|
|
|
status = "okay";
|
|
|
|
num-ports = <2>;
|
|
|
|
atmel,vbus-gpio = <&pioD 19 1
|
|
|
|
&pioD 20 1
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: ehci@00700000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|