Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos4412-odroidx.dts
blob0e9d626e740a3abd738ed7662852e6b0dfa39b2b
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Hardkernel's Exynos4412 based ODROID-X board device tree source
4  *
5  * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
6  *
7  * Device tree source file for Hardkernel's ODROID-X board which is based
8  * on Samsung's Exynos4412 SoC.
9  */
11 /dts-v1/;
12 #include "exynos4412-odroid-common.dtsi"
14 / {
15         model = "Hardkernel ODROID-X board based on Exynos4412";
16         compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
18         aliases {
19                 ethernet = &ethernet;
20         };
22         memory@40000000 {
23                 device_type = "memory";
24                 reg = <0x40000000 0x3FF00000>;
25         };
27         leds {
28                 compatible = "gpio-leds";
29                 led1 {
30                         label = "led1:heart";
31                         gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
32                         default-state = "on";
33                         linux,default-trigger = "heartbeat";
34                 };
35                 led2 {
36                         label = "led2:mmc0";
37                         gpios = <&gpc1 2 GPIO_ACTIVE_LOW>;
38                         default-state = "on";
39                         linux,default-trigger = "mmc0";
40                 };
41         };
43         regulator-1 {
44                 compatible = "regulator-fixed";
45                 regulator-name = "p3v3_en";
46                 regulator-min-microvolt = <3300000>;
47                 regulator-max-microvolt = <3300000>;
48                 gpio = <&gpa1 1 GPIO_ACTIVE_HIGH>;
49                 enable-active-high;
50                 regulator-always-on;
51         };
54 &adc {
55         vdd-supply = <&ldo10_reg>;
56         status = "okay";
59 /* VDDQ for MSHC (eMMC card) */
60 &buck8_reg {
61         regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
62         regulator-min-microvolt = <2800000>;
63         regulator-max-microvolt = <2800000>;
66 &ehci {
67         #address-cells = <1>;
68         #size-cells = <0>;
69         phys = <&exynos_usbphy 2>;
70         phy-names = "hsic0";
72         hub@2 {
73                 compatible = "usb0424,3503";
74                 reg = <2>;
75                 #address-cells = <1>;
76                 #size-cells = <0>;
78                 hub@1 {
79                         compatible = "usb0424,9514";
80                         reg = <1>;
81                         #address-cells = <1>;
82                         #size-cells = <0>;
84                         ethernet: usbether@1 {
85                                 compatible = "usb0424,ec00";
86                                 reg = <1>;
87                                 local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
88                         };
89                 };
90         };
93 &gpio_keys {
94         pinctrl-0 = <&gpio_power_key &gpio_home_key>;
96         home-key {
97                 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
98                 linux,code = <KEY_HOME>;
99                 label = "home key";
100                 debounce-interval = <10>;
101                 wakeup-source;
102         };
105 &hsotg {
106         dr_mode = "peripheral";
109 &mshc_0 {
110         vqmmc-supply = <&buck8_reg>;
113 &pinctrl_1 {
114         gpio_home_key: home-key {
115                 samsung,pins = "gpx2-2";
116                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
117         };
120 &serial_2 {
121         status = "okay";
124 &serial_3 {
125         status = "okay";
128 &sound {
129         model = "Odroid-X";
130         samsung,audio-widgets =
131                 "Headphone", "Headphone Jack",
132                 "Microphone", "Mic Jack",
133                 "Microphone", "DMIC";
134         samsung,audio-routing =
135                 "Headphone Jack", "HPL",
136                 "Headphone Jack", "HPR",
137                 "IN1", "Mic Jack",
138                 "Mic Jack", "MICBIAS";