|
48 | 48 | /dts-v1/; |
49 | 49 | #include "stm32f429.dtsi" |
50 | 50 | #include "stm32f429-pinctrl.dtsi" |
51 | | -#include <dt-bindings/input/input.h> |
52 | 51 | #include <dt-bindings/gpio/gpio.h> |
| 52 | +#include <dt-bindings/input/input.h> |
| 53 | +#include <dt-bindings/leds/common.h> |
53 | 54 | #include <dt-bindings/media/video-interfaces.h> |
54 | 55 |
|
55 | 56 | / { |
|
82 | 83 | dma-ranges = <0xc0000000 0x0 0x10000000>; |
83 | 84 | }; |
84 | 85 |
|
85 | | - vdda: regulator-vdda { |
86 | | - compatible = "regulator-fixed"; |
87 | | - regulator-name = "vdda"; |
88 | | - regulator-min-microvolt = <3300000>; |
89 | | - regulator-max-microvolt = <3300000>; |
90 | | - }; |
91 | | - |
92 | | - vref: regulator-vref { |
93 | | - compatible = "regulator-fixed"; |
94 | | - regulator-name = "vref"; |
95 | | - regulator-min-microvolt = <3300000>; |
96 | | - regulator-max-microvolt = <3300000>; |
97 | | - }; |
98 | | - |
99 | | - vdd_panel: vdd-panel { |
100 | | - compatible = "regulator-fixed"; |
101 | | - regulator-name = "vdd_panel"; |
102 | | - regulator-min-microvolt = <3300000>; |
103 | | - regulator-max-microvolt = <3300000>; |
104 | | - }; |
105 | | - |
106 | 86 | leds { |
107 | 87 | compatible = "gpio-leds"; |
108 | | - led-green { |
| 88 | + led_green: led-green { |
| 89 | + function = LED_FUNCTION_HEARTBEAT; |
| 90 | + color = <LED_COLOR_ID_GREEN>; |
109 | 91 | gpios = <&gpiog 6 1>; |
110 | 92 | linux,default-trigger = "heartbeat"; |
111 | 93 | }; |
112 | 94 | led-orange { |
| 95 | + color = <LED_COLOR_ID_ORANGE>; |
113 | 96 | gpios = <&gpiog 7 1>; |
114 | 97 | }; |
115 | 98 | led-red { |
| 99 | + color = <LED_COLOR_ID_RED>; |
116 | 100 | gpios = <&gpiog 10 1>; |
117 | 101 | }; |
118 | 102 | led-blue { |
| 103 | + color = <LED_COLOR_ID_BLUE>; |
119 | 104 | gpios = <&gpiog 12 1>; |
120 | 105 | }; |
121 | 106 | }; |
|
135 | 120 | }; |
136 | 121 | }; |
137 | 122 |
|
138 | | - usbotg_hs_phy: usbphy { |
139 | | - #phy-cells = <0>; |
140 | | - compatible = "usb-nop-xceiv"; |
141 | | - clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>; |
142 | | - clock-names = "main_clk"; |
| 123 | + mmc_vcard: mmc_vcard { |
| 124 | + compatible = "regulator-fixed"; |
| 125 | + regulator-name = "mmc_vcard"; |
| 126 | + regulator-min-microvolt = <3300000>; |
| 127 | + regulator-max-microvolt = <3300000>; |
| 128 | + }; |
| 129 | + |
| 130 | + options { |
| 131 | + u-boot { |
| 132 | + compatible = "u-boot,config"; |
| 133 | + boot-led = <&led_green>; |
| 134 | + }; |
143 | 135 | }; |
144 | 136 |
|
145 | 137 | panel_rgb: panel-rgb { |
|
153 | 145 | }; |
154 | 146 | }; |
155 | 147 |
|
156 | | - mmc_vcard: mmc_vcard { |
| 148 | + vdda: regulator-vdda { |
157 | 149 | compatible = "regulator-fixed"; |
158 | | - regulator-name = "mmc_vcard"; |
| 150 | + regulator-name = "vdda"; |
| 151 | + regulator-min-microvolt = <3300000>; |
| 152 | + regulator-max-microvolt = <3300000>; |
| 153 | + }; |
| 154 | + |
| 155 | + vref: regulator-vref { |
| 156 | + compatible = "regulator-fixed"; |
| 157 | + regulator-name = "vref"; |
| 158 | + regulator-min-microvolt = <3300000>; |
| 159 | + regulator-max-microvolt = <3300000>; |
| 160 | + }; |
| 161 | + |
| 162 | + usbotg_hs_phy: usbphy { |
| 163 | + #phy-cells = <0>; |
| 164 | + compatible = "usb-nop-xceiv"; |
| 165 | + clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>; |
| 166 | + clock-names = "main_clk"; |
| 167 | + }; |
| 168 | + |
| 169 | + vdd_panel: vdd-panel { |
| 170 | + compatible = "regulator-fixed"; |
| 171 | + regulator-name = "vdd_panel"; |
159 | 172 | regulator-min-microvolt = <3300000>; |
160 | 173 | regulator-max-microvolt = <3300000>; |
161 | 174 | }; |
|
0 commit comments