blob: 7fe283ced768120ff39bdfc238b243a6ab017fbd (
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
|
#include <arm/at91sam9263ek.dts>
/ {
chosen {
environment {
compatible = "barebox,environment";
device-path = &nand_controller, "partname:bareboxenv";
};
};
ahb {
apb {
mmc1: mmc@fff84000 {
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>;
};
};
};
};
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";
};
};
|