| .. | .. |
|---|
| 65 | 65 | }; |
|---|
| 66 | 66 | |
|---|
| 67 | 67 | &i2c0 { |
|---|
| 68 | | - pinctrl-names = "default"; |
|---|
| 69 | | - pinctrl-0 = <&i2c0_pins_a>; |
|---|
| 70 | 68 | status = "okay"; |
|---|
| 71 | 69 | }; |
|---|
| 72 | 70 | |
|---|
| 73 | 71 | &i2c1 { |
|---|
| 74 | | - pinctrl-names = "default"; |
|---|
| 75 | | - pinctrl-0 = <&i2c1_pins_a>; |
|---|
| 76 | 72 | status = "okay"; |
|---|
| 77 | 73 | }; |
|---|
| 78 | 74 | |
|---|
| .. | .. |
|---|
| 80 | 76 | vref-supply = <®_vcc3v0>; |
|---|
| 81 | 77 | status = "okay"; |
|---|
| 82 | 78 | |
|---|
| 83 | | - button@190 { |
|---|
| 79 | + button-190 { |
|---|
| 84 | 80 | label = "Volume Up"; |
|---|
| 85 | 81 | linux,code = <KEY_VOLUMEUP>; |
|---|
| 86 | 82 | channel = <0>; |
|---|
| 87 | 83 | voltage = <190000>; |
|---|
| 88 | 84 | }; |
|---|
| 89 | 85 | |
|---|
| 90 | | - button@390 { |
|---|
| 86 | + button-390 { |
|---|
| 91 | 87 | label = "Volume Down"; |
|---|
| 92 | 88 | linux,code = <KEY_VOLUMEDOWN>; |
|---|
| 93 | 89 | channel = <0>; |
|---|
| 94 | 90 | voltage = <390000>; |
|---|
| 95 | 91 | }; |
|---|
| 96 | 92 | |
|---|
| 97 | | - button@600 { |
|---|
| 93 | + button-600 { |
|---|
| 98 | 94 | label = "Home"; |
|---|
| 99 | 95 | linux,code = <KEY_HOME>; |
|---|
| 100 | 96 | channel = <0>; |
|---|
| .. | .. |
|---|
| 103 | 99 | }; |
|---|
| 104 | 100 | |
|---|
| 105 | 101 | &mmc0 { |
|---|
| 106 | | - pinctrl-names = "default"; |
|---|
| 107 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_evb>; |
|---|
| 108 | 102 | vmmc-supply = <®_vcc3v0>; |
|---|
| 109 | 103 | bus-width = <4>; |
|---|
| 110 | 104 | cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */ |
|---|
| 111 | 105 | status = "okay"; |
|---|
| 112 | | -}; |
|---|
| 113 | | - |
|---|
| 114 | | -&pio { |
|---|
| 115 | | - mmc0_cd_pin_evb: mmc0_cd_pin@0 { |
|---|
| 116 | | - pins = "PB4"; |
|---|
| 117 | | - function = "gpio_in"; |
|---|
| 118 | | - bias-pull-up; |
|---|
| 119 | | - }; |
|---|
| 120 | 106 | }; |
|---|
| 121 | 107 | |
|---|
| 122 | 108 | /* |
|---|