.. | .. |
---|
60 | 60 | stdout-path = "serial0:115200n8"; |
---|
61 | 61 | }; |
---|
62 | 62 | |
---|
63 | | - memory { |
---|
| 63 | + memory@00000000 { |
---|
| 64 | + device_type = "memory"; |
---|
64 | 65 | reg = <0x00000000 0x2000000>; |
---|
65 | 66 | }; |
---|
66 | 67 | |
---|
.. | .. |
---|
80 | 81 | dma-ranges = <0xc0000000 0x0 0x10000000>; |
---|
81 | 82 | }; |
---|
82 | 83 | |
---|
83 | | - regulators { |
---|
84 | | - compatible = "simple-bus"; |
---|
85 | | - #address-cells = <1>; |
---|
86 | | - #size-cells = <0>; |
---|
| 84 | + vdda: regulator-vdda { |
---|
| 85 | + compatible = "regulator-fixed"; |
---|
| 86 | + regulator-name = "vdda"; |
---|
| 87 | + regulator-min-microvolt = <3300000>; |
---|
| 88 | + regulator-max-microvolt = <3300000>; |
---|
| 89 | + }; |
---|
87 | 90 | |
---|
88 | | - reg_vref: regulator@0 { |
---|
89 | | - compatible = "regulator-fixed"; |
---|
90 | | - reg = <0>; |
---|
91 | | - regulator-name = "vref"; |
---|
92 | | - regulator-min-microvolt = <3300000>; |
---|
93 | | - regulator-max-microvolt = <3300000>; |
---|
94 | | - }; |
---|
| 91 | + vref: regulator-vref { |
---|
| 92 | + compatible = "regulator-fixed"; |
---|
| 93 | + regulator-name = "vref"; |
---|
| 94 | + regulator-min-microvolt = <3300000>; |
---|
| 95 | + regulator-max-microvolt = <3300000>; |
---|
| 96 | + }; |
---|
| 97 | + |
---|
| 98 | + vdd_panel: vdd-panel { |
---|
| 99 | + compatible = "regulator-fixed"; |
---|
| 100 | + regulator-name = "vdd_panel"; |
---|
| 101 | + regulator-min-microvolt = <3300000>; |
---|
| 102 | + regulator-max-microvolt = <3300000>; |
---|
95 | 103 | }; |
---|
96 | 104 | |
---|
97 | 105 | leds { |
---|
98 | 106 | compatible = "gpio-leds"; |
---|
99 | | - green { |
---|
| 107 | + led-green { |
---|
100 | 108 | gpios = <&gpiog 6 1>; |
---|
101 | 109 | linux,default-trigger = "heartbeat"; |
---|
102 | 110 | }; |
---|
103 | | - orange { |
---|
| 111 | + led-orange { |
---|
104 | 112 | gpios = <&gpiog 7 1>; |
---|
105 | 113 | }; |
---|
106 | | - red { |
---|
| 114 | + led-red { |
---|
107 | 115 | gpios = <&gpiog 10 1>; |
---|
108 | 116 | }; |
---|
109 | | - blue { |
---|
| 117 | + led-blue { |
---|
110 | 118 | gpios = <&gpiog 12 1>; |
---|
111 | 119 | }; |
---|
112 | 120 | }; |
---|
.. | .. |
---|
135 | 143 | |
---|
136 | 144 | panel_rgb: panel-rgb { |
---|
137 | 145 | compatible = "ampire,am-480272h3tmqw-t01h"; |
---|
| 146 | + power-supply = <&vdd_panel>; |
---|
138 | 147 | status = "okay"; |
---|
139 | 148 | port { |
---|
140 | 149 | panel_in_rgb: endpoint { |
---|
.. | .. |
---|
154 | 163 | &adc { |
---|
155 | 164 | pinctrl-names = "default"; |
---|
156 | 165 | pinctrl-0 = <&adc3_in8_pin>; |
---|
157 | | - vref-supply = <®_vref>; |
---|
| 166 | + vdda-supply = <&vdda>; |
---|
| 167 | + vref-supply = <&vref>; |
---|
158 | 168 | status = "okay"; |
---|
159 | 169 | adc3: adc@200 { |
---|
160 | 170 | st,adc-channels = <8>; |
---|
.. | .. |
---|
228 | 238 | |
---|
229 | 239 | <dc { |
---|
230 | 240 | status = "okay"; |
---|
231 | | - pinctrl-0 = <<dc_pins>; |
---|
| 241 | + pinctrl-0 = <<dc_pins_a>; |
---|
232 | 242 | pinctrl-names = "default"; |
---|
233 | | - dma-ranges; |
---|
234 | 243 | |
---|
235 | 244 | port { |
---|
236 | 245 | ltdc_out_rgb: endpoint { |
---|
.. | .. |
---|
262 | 271 | &sdio { |
---|
263 | 272 | status = "okay"; |
---|
264 | 273 | vmmc-supply = <&mmc_vcard>; |
---|
265 | | - cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_HIGH>; |
---|
266 | | - cd-inverted; |
---|
| 274 | + cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_LOW>; |
---|
267 | 275 | pinctrl-names = "default", "opendrain"; |
---|
268 | 276 | pinctrl-0 = <&sdio_pins>; |
---|
269 | 277 | pinctrl-1 = <&sdio_pins_od>; |
---|