Krzysztof Kozlowski | cc4637f | 2017-12-25 11:40:09 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Sjoerd Simons | 86a2d2a | 2015-01-12 17:35:49 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Hardkernel Odroid XU3 board device tree source |
| 4 | * |
| 5 | * Copyright (c) 2014 Collabora Ltd. |
| 6 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 7 | * http://www.samsung.com |
Krzysztof Kozlowski | cc4637f | 2017-12-25 11:40:09 +0100 | [diff] [blame] | 8 | */ |
Sjoerd Simons | 86a2d2a | 2015-01-12 17:35:49 +0900 | [diff] [blame] | 9 | |
| 10 | /dts-v1/; |
Krzysztof Kozlowski | 3a7c01d | 2015-05-25 21:13:17 +0900 | [diff] [blame] | 11 | #include "exynos5422-odroidxu3-common.dtsi" |
Krzysztof Kozlowski | 8cec734 | 2015-09-16 08:37:07 +0900 | [diff] [blame] | 12 | #include "exynos5422-odroidxu3-audio.dtsi" |
Krzysztof Kozlowski | 8c2bd87 | 2016-05-03 14:35:51 +0200 | [diff] [blame] | 13 | #include "exynos54xx-odroidxu-leds.dtsi" |
Sjoerd Simons | 86a2d2a | 2015-01-12 17:35:49 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Hardkernel Odroid XU3"; |
| 17 | compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5"; |
Łukasz Stelmach | c0f5d38 | 2020-11-03 19:44:08 +0100 | [diff] [blame] | 18 | |
| 19 | aliases { |
| 20 | ethernet = ðernet; |
| 21 | }; |
Inha Song | 7a548b1 | 2015-04-10 16:32:58 +0900 | [diff] [blame] | 22 | }; |
| 23 | |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 24 | &i2c_0 { |
Inha Song | 7a548b1 | 2015-04-10 16:32:58 +0900 | [diff] [blame] | 25 | status = "okay"; |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 26 | |
| 27 | /* A15 cluster: VDD_ARM */ |
Krzysztof Kozlowski | 77c9185 | 2020-10-27 18:09:43 +0100 | [diff] [blame] | 28 | power-sensor@40 { |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 29 | compatible = "ti,ina231"; |
| 30 | reg = <0x40>; |
| 31 | shunt-resistor = <10000>; |
| 32 | }; |
| 33 | |
| 34 | /* memory: VDD_MEM */ |
Krzysztof Kozlowski | 77c9185 | 2020-10-27 18:09:43 +0100 | [diff] [blame] | 35 | power-sensor@41 { |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 36 | compatible = "ti,ina231"; |
| 37 | reg = <0x41>; |
| 38 | shunt-resistor = <10000>; |
| 39 | }; |
| 40 | |
| 41 | /* GPU: VDD_G3D */ |
Krzysztof Kozlowski | 77c9185 | 2020-10-27 18:09:43 +0100 | [diff] [blame] | 42 | power-sensor@44 { |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 43 | compatible = "ti,ina231"; |
| 44 | reg = <0x44>; |
| 45 | shunt-resistor = <10000>; |
| 46 | }; |
| 47 | |
| 48 | /* A7 cluster: VDD_KFC */ |
Krzysztof Kozlowski | 77c9185 | 2020-10-27 18:09:43 +0100 | [diff] [blame] | 49 | power-sensor@45 { |
Krzysztof Kozlowski | 8021dda | 2015-05-14 19:47:43 +0900 | [diff] [blame] | 50 | compatible = "ti,ina231"; |
| 51 | reg = <0x45>; |
| 52 | shunt-resistor = <10000>; |
| 53 | }; |
Sjoerd Simons | 86a2d2a | 2015-01-12 17:35:49 +0900 | [diff] [blame] | 54 | }; |
Krzysztof Kozlowski | 6658356 | 2015-09-16 08:37:11 +0900 | [diff] [blame] | 55 | |
Krzysztof Kozlowski | 8be3e7f | 2018-08-06 18:09:33 +0200 | [diff] [blame] | 56 | &ldo28_reg { |
| 57 | regulator-name = "dp_p3v3"; |
| 58 | regulator-min-microvolt = <3300000>; |
| 59 | regulator-max-microvolt = <3300000>; |
| 60 | }; |
| 61 | |
Krzysztof Kozlowski | 6658356 | 2015-09-16 08:37:11 +0900 | [diff] [blame] | 62 | &pwm { |
| 63 | /* |
| 64 | * PWM 0 -- fan |
| 65 | * PWM 1 -- Green LED |
| 66 | * PWM 2 -- Blue LED |
| 67 | * PWM 3 -- on MIPI connector for backlight |
| 68 | */ |
| 69 | pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>; |
| 70 | pinctrl-names = "default"; |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
| 74 | &usbdrd_dwc3_1 { |
Marek Szyprowski | 997a2ec | 2015-11-19 12:51:22 +0100 | [diff] [blame] | 75 | dr_mode = "peripheral"; |
Krzysztof Kozlowski | 6658356 | 2015-09-16 08:37:11 +0900 | [diff] [blame] | 76 | }; |
Łukasz Stelmach | 8902a66 | 2020-10-01 15:52:54 +0200 | [diff] [blame] | 77 | |
| 78 | &usbhost2 { |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <0>; |
| 81 | |
| 82 | hub@1 { |
Łukasz Stelmach | f949d41 | 2020-11-03 19:44:07 +0100 | [diff] [blame] | 83 | compatible = "usb0424,9514"; |
Łukasz Stelmach | 8902a66 | 2020-10-01 15:52:54 +0200 | [diff] [blame] | 84 | reg = <1>; |
| 85 | #address-cells = <1>; |
| 86 | #size-cells = <0>; |
| 87 | |
| 88 | ethernet: usbether@1 { |
Łukasz Stelmach | f949d41 | 2020-11-03 19:44:07 +0100 | [diff] [blame] | 89 | compatible = "usb0424,ec00"; |
Łukasz Stelmach | 8902a66 | 2020-10-01 15:52:54 +0200 | [diff] [blame] | 90 | reg = <1>; |
| 91 | local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ |
| 92 | }; |
| 93 | }; |
| 94 | }; |