hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts
....@@ -24,6 +24,7 @@
2424 };
2525
2626 memory@80000000 {
27
+ device_type = "memory";
2728 reg = <0x80000000 0x20000000>;
2829 };
2930
....@@ -36,7 +37,6 @@
3637 label = "zii:green:debug1";
3738 gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
3839 linux,default-trigger = "heartbeat";
39
- max-brightness = <1>;
4040 };
4141 };
4242
....@@ -45,6 +45,14 @@
4545 regulator-name = "vcc_3v3_mcu";
4646 regulator-min-microvolt = <3300000>;
4747 regulator-max-microvolt = <3300000>;
48
+ };
49
+
50
+ supply-voltage-monitor {
51
+ compatible = "iio-hwmon";
52
+ io-channels = <&adc0 8>, /* 12V_MAIN */
53
+ <&adc0 9>, /* +3.3V */
54
+ <&adc1 8>, /* VCC_1V5 */
55
+ <&adc1 9>; /* VCC_1V2 */
4856 };
4957 };
5058
....@@ -69,7 +77,7 @@
6977 */
7078 status = "disabled";
7179
72
- m25p128@0 {
80
+ flash@0 {
7381 #address-cells = <1>;
7482 #size-cells = <1>;
7583 compatible = "m25p128", "jedec,spi-nor";
....@@ -98,6 +106,8 @@
98106 non-removable;
99107 no-1-8-v;
100108 keep-power-in-suspend;
109
+ no-sdio;
110
+ no-sd;
101111 status = "okay";
102112 };
103113
....@@ -105,6 +115,7 @@
105115 pinctrl-names = "default";
106116 pinctrl-0 = <&pinctrl_esdhc1>;
107117 bus-width = <4>;
118
+ no-sdio;
108119 status = "okay";
109120 };
110121
....@@ -122,6 +133,8 @@
122133 mdio1: mdio {
123134 #address-cells = <1>;
124135 #size-cells = <0>;
136
+ clock-frequency = <12500000>;
137
+ suppress-preamble;
125138 status = "okay";
126139
127140 switch0: switch0@0 {
....@@ -130,7 +143,6 @@
130143 pinctrl-names = "default";
131144 reg = <0>;
132145 eeprom-length = <65536>;
133
- reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
134146 interrupt-parent = <&gpio3>;
135147 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
136148 interrupt-controller;
....@@ -191,7 +203,7 @@
191203 pinctrl-0 = <&pinctrl_i2c0>;
192204 status = "okay";
193205
194
- gpio6: pca9505@22 {
206
+ gpio6: io-expander@22 {
195207 compatible = "nxp,pca9554";
196208 reg = <0x22>;
197209 gpio-controller;
....@@ -203,16 +215,32 @@
203215 reg = <0x48>;
204216 };
205217
206
- at24c04@50 {
218
+ eeprom@50 {
207219 compatible = "atmel,24c04";
208220 reg = <0x50>;
209221 label = "nameplate";
210222 };
211223
212
- at24c04@52 {
224
+ eeprom@52 {
213225 compatible = "atmel,24c04";
214226 reg = <0x52>;
215227 };
228
+};
229
+
230
+&i2c1 {
231
+ clock-frequency = <100000>;
232
+ pinctrl-names = "default";
233
+ pinctrl-0 = <&pinctrl_i2c1>;
234
+ status = "okay";
235
+
236
+ watchdog@38 {
237
+ compatible = "zii,rave-wdt";
238
+ reg = <0x38>;
239
+ };
240
+};
241
+
242
+&snvsrtc {
243
+ status = "disabled";
216244 };
217245
218246 &uart0 {
....@@ -244,6 +272,10 @@
244272 zii,eeprom-name = "main-eeprom";
245273 };
246274 };
275
+};
276
+
277
+&wdoga5 {
278
+ status = "disabled";
247279 };
248280
249281 &iomuxc {
....@@ -300,7 +332,6 @@
300332
301333 pinctrl_gpio_switch0: pinctrl-gpio-switch0 {
302334 fsl,pins = <
303
- VF610_PAD_PTE2__GPIO_107 0x31c2
304335 VF610_PAD_PTB28__GPIO_98 0x219d
305336 >;
306337 };