diff options
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g20ek_common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi index 6a92c5baef8c..c7ffc32918f9 100644 --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Licensed under GPLv2. | 6 | * Licensed under GPLv2. |
7 | */ | 7 | */ |
8 | /include/ "at91sam9g20.dtsi" | 8 | #include "at91sam9g20.dtsi" |
9 | 9 | ||
10 | / { | 10 | / { |
11 | 11 | ||
@@ -34,10 +34,17 @@ | |||
34 | board { | 34 | board { |
35 | pinctrl_pck0_as_mck: pck0_as_mck { | 35 | pinctrl_pck0_as_mck: pck0_as_mck { |
36 | atmel,pins = | 36 | atmel,pins = |
37 | <2 1 0x2 0x0>; /* PC1 periph B */ | 37 | <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC1 periph B */ |
38 | }; | 38 | }; |
39 | 39 | ||
40 | }; | 40 | }; |
41 | |||
42 | mmc0_slot1 { | ||
43 | pinctrl_board_mmc0_slot1: mmc0_slot1-board { | ||
44 | atmel,pins = | ||
45 | <AT91_PIOC 9 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PC9 gpio CD pin pull up and deglitch */ | ||
46 | }; | ||
47 | }; | ||
41 | }; | 48 | }; |
42 | 49 | ||
43 | dbgu: serial@fffff200 { | 50 | dbgu: serial@fffff200 { |
@@ -65,7 +72,7 @@ | |||
65 | }; | 72 | }; |
66 | 73 | ||
67 | usb1: gadget@fffa4000 { | 74 | usb1: gadget@fffa4000 { |
68 | atmel,vbus-gpio = <&pioC 5 0>; | 75 | atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; |
69 | status = "okay"; | 76 | status = "okay"; |
70 | }; | 77 | }; |
71 | 78 | ||
@@ -79,16 +86,7 @@ | |||
79 | slot@1 { | 86 | slot@1 { |
80 | reg = <1>; | 87 | reg = <1>; |
81 | bus-width = <4>; | 88 | bus-width = <4>; |
82 | cd-gpios = <&pioC 9 0>; | 89 | cd-gpios = <&pioC 9 GPIO_ACTIVE_HIGH>; |
83 | }; | ||
84 | }; | ||
85 | |||
86 | pinctrl@fffff400 { | ||
87 | mmc0_slot1 { | ||
88 | pinctrl_board_mmc0_slot1: mmc0_slot1-board { | ||
89 | atmel,pins = | ||
90 | <2 9 0x0 0x5>; /* PC9 gpio CD pin pull up and deglitch */ | ||
91 | }; | ||
92 | }; | 90 | }; |
93 | }; | 91 | }; |
94 | 92 | ||
@@ -180,14 +178,14 @@ | |||
180 | 178 | ||
181 | btn3 { | 179 | btn3 { |
182 | label = "Button 3"; | 180 | label = "Button 3"; |
183 | gpios = <&pioA 30 1>; | 181 | gpios = <&pioA 30 GPIO_ACTIVE_LOW>; |
184 | linux,code = <0x103>; | 182 | linux,code = <0x103>; |
185 | gpio-key,wakeup; | 183 | gpio-key,wakeup; |
186 | }; | 184 | }; |
187 | 185 | ||
188 | btn4 { | 186 | btn4 { |
189 | label = "Button 4"; | 187 | label = "Button 4"; |
190 | gpios = <&pioA 31 1>; | 188 | gpios = <&pioA 31 GPIO_ACTIVE_LOW>; |
191 | linux,code = <0x104>; | 189 | linux,code = <0x104>; |
192 | gpio-key,wakeup; | 190 | gpio-key,wakeup; |
193 | }; | 191 | }; |