.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | /* |
---|
3 | | - * SAMSUNG SMDK5250 board device tree source |
---|
| 3 | + * Samsung SMDK5250 board device tree source |
---|
4 | 4 | * |
---|
5 | 5 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
---|
6 | 6 | * http://www.samsung.com |
---|
7 | 7 | */ |
---|
8 | 8 | |
---|
9 | 9 | /dts-v1/; |
---|
| 10 | +#include <dt-bindings/clock/maxim,max77686.h> |
---|
10 | 11 | #include <dt-bindings/gpio/gpio.h> |
---|
11 | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
12 | 13 | #include "exynos5250.dtsi" |
---|
13 | 14 | |
---|
14 | 15 | / { |
---|
15 | | - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; |
---|
| 16 | + model = "Samsung SMDK5250 board based on Exynos5250"; |
---|
16 | 17 | compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5"; |
---|
17 | 18 | |
---|
18 | 19 | aliases { |
---|
.. | .. |
---|
24 | 25 | }; |
---|
25 | 26 | |
---|
26 | 27 | chosen { |
---|
27 | | - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
---|
| 28 | + bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; |
---|
| 29 | + stdout-path = "serial2:115200n8"; |
---|
28 | 30 | }; |
---|
29 | 31 | |
---|
30 | 32 | vdd: fixed-regulator-vdd { |
---|
.. | .. |
---|
116 | 118 | status = "okay"; |
---|
117 | 119 | ddc = <&i2c_2>; |
---|
118 | 120 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
---|
| 121 | + vdd-supply = <&ldo8_reg>; |
---|
| 122 | + vdd_osc-supply = <&ldo10_reg>; |
---|
| 123 | + vdd_pll-supply = <&ldo8_reg>; |
---|
119 | 124 | }; |
---|
120 | 125 | |
---|
121 | 126 | &i2c_0 { |
---|
.. | .. |
---|
124 | 129 | samsung,i2c-max-bus-freq = <20000>; |
---|
125 | 130 | |
---|
126 | 131 | eeprom@50 { |
---|
127 | | - compatible = "samsung,s524ad0xd1"; |
---|
| 132 | + compatible = "samsung,s524ad0xd1", "atmel,24c128"; |
---|
128 | 133 | reg = <0x50>; |
---|
129 | 134 | }; |
---|
130 | 135 | |
---|
131 | | - max77686@9 { |
---|
| 136 | + max77686: pmic@9 { |
---|
132 | 137 | compatible = "maxim,max77686"; |
---|
133 | 138 | reg = <0x09>; |
---|
134 | 139 | interrupt-parent = <&gpx3>; |
---|
135 | 140 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
---|
136 | 141 | pinctrl-names = "default"; |
---|
137 | 142 | pinctrl-0 = <&max77686_irq>; |
---|
| 143 | + #clock-cells = <1>; |
---|
138 | 144 | wakeup-source; |
---|
139 | 145 | |
---|
140 | 146 | voltage-regulators { |
---|
.. | .. |
---|
283 | 289 | samsung,i2c-max-bus-freq = <20000>; |
---|
284 | 290 | |
---|
285 | 291 | eeprom@51 { |
---|
286 | | - compatible = "samsung,s524ad0xd1"; |
---|
| 292 | + compatible = "samsung,s524ad0xd1", "atmel,24c128"; |
---|
287 | 293 | reg = <0x51>; |
---|
288 | 294 | }; |
---|
289 | 295 | |
---|
.. | .. |
---|
323 | 329 | status = "okay"; |
---|
324 | 330 | samsung,i2c-sda-delay = <100>; |
---|
325 | 331 | samsung,i2c-max-bus-freq = <40000>; |
---|
326 | | - samsung,i2c-slave-addr = <0x38>; |
---|
327 | | - |
---|
328 | | - sata_phy_i2c: sata-phy@38 { |
---|
329 | | - compatible = "samsung,exynos-sataphy-i2c"; |
---|
330 | | - reg = <0x38>; |
---|
331 | | - }; |
---|
332 | 332 | }; |
---|
333 | 333 | |
---|
334 | 334 | &i2s0 { |
---|
.. | .. |
---|
367 | 367 | |
---|
368 | 368 | &rtc { |
---|
369 | 369 | status = "okay"; |
---|
| 370 | + clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; |
---|
| 371 | + clock-names = "rtc", "rtc_src"; |
---|
370 | 372 | }; |
---|
371 | 373 | |
---|
372 | 374 | &sata { |
---|
.. | .. |
---|
378 | 380 | samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; |
---|
379 | 381 | }; |
---|
380 | 382 | |
---|
| 383 | +&sata_phy_i2c { |
---|
| 384 | + status = "okay"; |
---|
| 385 | +}; |
---|
| 386 | + |
---|
381 | 387 | &spi_1 { |
---|
382 | 388 | status = "okay"; |
---|
383 | 389 | cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>; |
---|