forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
....@@ -1,18 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * Copyright (C) 2015 Altera Corporation <www.altera.com>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
164 */
175 #include "socfpga_arria10.dtsi"
186
....@@ -58,6 +46,13 @@
5846 label = "a10sr-led3";
5947 gpios = <&a10sr_gpio 3 1>;
6048 };
49
+ };
50
+
51
+ ref_033v: 033-v-ref {
52
+ compatible = "regulator-fixed";
53
+ regulator-name = "0.33V";
54
+ regulator-min-microvolt = <330000>;
55
+ regulator-max-microvolt = <330000>;
6156 };
6257
6358 soc {
....@@ -140,6 +135,18 @@
140135 i2c-sda-falling-time-ns = <6000>;
141136 i2c-scl-falling-time-ns = <6000>;
142137
138
+ adc@14 {
139
+ compatible = "lltc,ltc2497";
140
+ reg = <0x14>;
141
+ vref-supply = <&ref_033v>;
142
+ };
143
+
144
+ adc@16 {
145
+ compatible = "lltc,ltc2497";
146
+ reg = <0x16>;
147
+ vref-supply = <&ref_033v>;
148
+ };
149
+
143150 eeprom@51 {
144151 compatible = "atmel,24c32";
145152 reg = <0x51>;
....@@ -155,6 +162,11 @@
155162 compatible = "ltc2977";
156163 reg = <0x5c>;
157164 };
165
+
166
+ temp@4c {
167
+ compatible = "maxim,max1619";
168
+ reg = <0x4c>;
169
+ };
158170 };
159171
160172 &uart1 {