summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/at91sam9263ek.dts
blob: 77da4479abeb02daa46cf5c3d8327644da01e224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include <arm/microchip/at91sam9263ek.dts>
/ {
	chosen {
		environment {
			compatible = "barebox,environment";
			device-path = &environment_nand;
		};
	};

};

&{nand_controller/nand@3} {
	/delete-node/ partitions;

	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		at91bootstrap@0 {
			label = "at91bootstrap";
			reg = <0x0 0x20000>;
		};

		barebox@20000 {
			label = "barebox";
			reg = <0x20000 0x100000>;
		};

		environment_nand: bareboxenv@120000 {
			label = "barebox-environment";
			reg = <0x120000 0x20000>;
		};

		rootfs@140000 {
			label = "root";
			reg = <0x140000 0x0>;
		};
	};
};

&mmc1 {
	pinctrl-0 = <
		&pinctrl_board_mmc1
		&pinctrl_mmc1_clk
		&pinctrl_mmc1_slot0_cmd_dat0
		&pinctrl_mmc1_slot0_dat1_3>;
		cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
		status = "okay";
		slot@0 {
			reg = <0>;
			bus-width = <4>;
			cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
			wp-gpios = <&pioE 19 GPIO_ACTIVE_HIGH>;
		};
};

&{/ahb/apb/pinctrl@fffff200} {
	pinctrl_board_mmc1: mmc1-board {
		atmel,pins =
			<AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH	/* PE18 gpio CD pin pull up and deglitch */
			 AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;		/* PE19 gpio WP pin pull up */
	};
};

&pioB {
	/* Enable the 50MHz oscillator for Ethernet PHY */
	phy_50mhz {
		gpio-hog;
		gpios = <27 GPIO_ACTIVE_LOW>;
		output-high;
		line-name = "PHY 50 MHz oscillator";
	};
};