mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
2ea332dedc
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
/*
|
|
* usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
|
|
*
|
|
* Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
/dts-v1/;
|
|
/include/ "at91sam9g20.dtsi"
|
|
|
|
/ {
|
|
model = "Calao USB A9G20";
|
|
compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9";
|
|
|
|
chosen {
|
|
bootargs = "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox)ro,128k(bareboxenv),128k(bareboxenv2),4M(kernel),120M(rootfs),-(data) root=/dev/mtdblock5 rw rootfstype=ubifs";
|
|
};
|
|
|
|
memory@20000000 {
|
|
reg = <0x20000000 0x4000000>;
|
|
};
|
|
|
|
ahb {
|
|
apb {
|
|
dbgu: serial@fffff200 {
|
|
status = "okay";
|
|
};
|
|
|
|
macb0: ethernet@fffc4000 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
user_led {
|
|
label = "user_led";
|
|
gpios = <&pioB 21 1>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
user_pb {
|
|
label = "user_pb";
|
|
gpios = <&pioB 10 1>;
|
|
linux,code = <28>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
};
|