at91sam9x5ek.dtsi 2.1 KB
Newer Older
1 2 3 4 5 6 7 8
/*
 * 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.
 */
9
#include "at91sam9x5cm.dtsi"
10 11 12 13 14 15

/ {
	model = "Atmel AT91SAM9X5-EK";
	compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";

	chosen {
16
		bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
17 18 19 20
	};

	ahb {
		apb {
21
			mmc0: mmc@f0008000 {
22 23 24 25
				pinctrl-0 = <
					&pinctrl_board_mmc0
					&pinctrl_mmc0_slot0_clk_cmd_dat0
					&pinctrl_mmc0_slot0_dat1_3>;
26 27 28 29
				status = "okay";
				slot@0 {
					reg = <0>;
					bus-width = <4>;
30
					cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
31 32 33 34
				};
			};

			mmc1: mmc@f000c000 {
35 36 37 38
				pinctrl-0 = <
					&pinctrl_board_mmc1
					&pinctrl_mmc1_slot0_clk_cmd_dat0
					&pinctrl_mmc1_slot0_dat1_3>;
39 40 41 42
				status = "okay";
				slot@0 {
					reg = <0>;
					bus-width = <4>;
43
					cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
44 45 46
				};
			};

47 48 49 50 51 52 53 54
			dbgu: serial@fffff200 {
				status = "okay";
			};

			usart0: serial@f801c000 {
				status = "okay";
			};

55 56 57 58 59
			usb2: gadget@f803c000 {
				atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
				status = "okay";
			};

60 61 62 63
			i2c0: i2c@f8010000 {
				status = "okay";
			};

64 65 66 67
			pinctrl@fffff400 {
				mmc0 {
					pinctrl_board_mmc0: mmc0-board {
						atmel,pins =
68
							<AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* PD15 gpio CD pin pull up and deglitch */
69 70 71 72 73 74
					};
				};

				mmc1 {
					pinctrl_board_mmc1: mmc1-board {
						atmel,pins =
75
							<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* PD14 gpio CD pin pull up and deglitch */
76 77 78
					};
				};
			};
79 80 81 82 83 84 85 86 87 88

			spi0: spi@f0000000 {
				status = "okay";
				cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
				m25p80@0 {
					compatible = "atmel,at25df321a";
					spi-max-frequency = <50000000>;
					reg = <0>;
				};
			};
89 90 91 92

			watchdog@fffffe40 {
				status = "okay";
			};
93 94 95 96 97
		};

		usb0: ohci@00600000 {
			status = "okay";
			num-ports = <2>;
98 99
			atmel,vbus-gpio = <&pioD 19 GPIO_ACTIVE_LOW
					   &pioD 20 GPIO_ACTIVE_LOW
100 101 102 103 104 105 106 107
					  >;
		};

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