/* * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board * * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD * * 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; }; }; };