.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
---|
1 | 2 | /* |
---|
2 | 3 | * 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/>. |
---|
16 | 4 | */ |
---|
17 | 5 | #include "socfpga_arria10.dtsi" |
---|
18 | 6 | |
---|
.. | .. |
---|
58 | 46 | label = "a10sr-led3"; |
---|
59 | 47 | gpios = <&a10sr_gpio 3 1>; |
---|
60 | 48 | }; |
---|
| 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>; |
---|
61 | 56 | }; |
---|
62 | 57 | |
---|
63 | 58 | soc { |
---|
.. | .. |
---|
140 | 135 | i2c-sda-falling-time-ns = <6000>; |
---|
141 | 136 | i2c-scl-falling-time-ns = <6000>; |
---|
142 | 137 | |
---|
| 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 | + |
---|
143 | 150 | eeprom@51 { |
---|
144 | 151 | compatible = "atmel,24c32"; |
---|
145 | 152 | reg = <0x51>; |
---|
.. | .. |
---|
155 | 162 | compatible = "ltc2977"; |
---|
156 | 163 | reg = <0x5c>; |
---|
157 | 164 | }; |
---|
| 165 | + |
---|
| 166 | + temp@4c { |
---|
| 167 | + compatible = "maxim,max1619"; |
---|
| 168 | + reg = <0x4c>; |
---|
| 169 | + }; |
---|
158 | 170 | }; |
---|
159 | 171 | |
---|
160 | 172 | &uart1 { |
---|