1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Hardkernel's Exynos4412 based ODROID-X boar 3 * Hardkernel's Exynos4412 based ODROID-X board device tree source 4 * 4 * 5 * Copyright (c) 2012 Dongjin Kim <tobetter@gma 5 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com> 6 * 6 * 7 * Device tree source file for Hardkernel's OD 7 * Device tree source file for Hardkernel's ODROID-X board which is based 8 * on Samsung's Exynos4412 SoC. 8 * on Samsung's Exynos4412 SoC. 9 */ 9 */ 10 10 11 /dts-v1/; 11 /dts-v1/; 12 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/leds/common.h> 13 #include "exynos4412-odroid-common.dtsi" 13 #include "exynos4412-odroid-common.dtsi" 14 14 15 / { 15 / { 16 model = "Hardkernel ODROID-X board bas 16 model = "Hardkernel ODROID-X board based on Exynos4412"; 17 compatible = "hardkernel,odroid-x", "s 17 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4"; 18 18 19 aliases { 19 aliases { 20 ethernet = ðernet; 20 ethernet = ðernet; 21 }; 21 }; 22 22 23 memory@40000000 { 23 memory@40000000 { 24 device_type = "memory"; 24 device_type = "memory"; 25 reg = <0x40000000 0x3ff00000>; 25 reg = <0x40000000 0x3ff00000>; 26 }; 26 }; 27 27 28 leds { 28 leds { 29 compatible = "gpio-leds"; 29 compatible = "gpio-leds"; 30 led1 { 30 led1 { 31 function = LED_FUNCTIO 31 function = LED_FUNCTION_HEARTBEAT; 32 color = <LED_COLOR_ID_ 32 color = <LED_COLOR_ID_BLUE>; 33 gpios = <&gpc1 0 GPIO_ 33 gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; 34 default-state = "on"; 34 default-state = "on"; 35 linux,default-trigger 35 linux,default-trigger = "heartbeat"; 36 }; 36 }; 37 led2 { 37 led2 { 38 label = "led2:mmc0"; 38 label = "led2:mmc0"; 39 function = LED_FUNCTIO 39 function = LED_FUNCTION_DISK_ACTIVITY; 40 gpios = <&gpc1 2 GPIO_ 40 gpios = <&gpc1 2 GPIO_ACTIVE_LOW>; 41 default-state = "on"; 41 default-state = "on"; 42 linux,default-trigger 42 linux,default-trigger = "mmc0"; 43 }; 43 }; 44 }; 44 }; 45 45 46 regulator-1 { 46 regulator-1 { 47 compatible = "regulator-fixed" 47 compatible = "regulator-fixed"; 48 regulator-name = "p3v3_en"; 48 regulator-name = "p3v3_en"; 49 regulator-min-microvolt = <330 49 regulator-min-microvolt = <3300000>; 50 regulator-max-microvolt = <330 50 regulator-max-microvolt = <3300000>; 51 gpio = <&gpa1 1 GPIO_ACTIVE_HI 51 gpio = <&gpa1 1 GPIO_ACTIVE_HIGH>; 52 enable-active-high; 52 enable-active-high; 53 regulator-always-on; 53 regulator-always-on; 54 }; 54 }; 55 }; 55 }; 56 56 57 &adc { 57 &adc { 58 vdd-supply = <&ldo10_reg>; 58 vdd-supply = <&ldo10_reg>; 59 status = "okay"; 59 status = "okay"; 60 }; 60 }; 61 61 62 /* VDDQ for MSHC (eMMC card) */ 62 /* VDDQ for MSHC (eMMC card) */ 63 &buck8_reg { 63 &buck8_reg { 64 regulator-name = "BUCK8_VDDQ_MMC4_2.8V 64 regulator-name = "BUCK8_VDDQ_MMC4_2.8V"; 65 regulator-min-microvolt = <2800000>; 65 regulator-min-microvolt = <2800000>; 66 regulator-max-microvolt = <2800000>; 66 regulator-max-microvolt = <2800000>; 67 }; 67 }; 68 68 69 &ehci { 69 &ehci { 70 #address-cells = <1>; 70 #address-cells = <1>; 71 #size-cells = <0>; 71 #size-cells = <0>; 72 phys = <&exynos_usbphy 2>; 72 phys = <&exynos_usbphy 2>; 73 phy-names = "hsic0"; 73 phy-names = "hsic0"; 74 74 75 hub@2 { 75 hub@2 { 76 compatible = "usb424,3503"; 76 compatible = "usb424,3503"; 77 reg = <2>; 77 reg = <2>; 78 #address-cells = <1>; 78 #address-cells = <1>; 79 #size-cells = <0>; 79 #size-cells = <0>; 80 80 81 hub@1 { 81 hub@1 { 82 compatible = "usb424,9 82 compatible = "usb424,9514"; 83 reg = <1>; 83 reg = <1>; 84 #address-cells = <1>; 84 #address-cells = <1>; 85 #size-cells = <0>; 85 #size-cells = <0>; 86 86 87 ethernet: ethernet@1 { 87 ethernet: ethernet@1 { 88 compatible = " 88 compatible = "usb424,ec00"; 89 reg = <1>; 89 reg = <1>; 90 /* Filled in b 90 /* Filled in by a bootloader */ 91 local-mac-addr 91 local-mac-address = [00 00 00 00 00 00]; 92 }; 92 }; 93 }; 93 }; 94 }; 94 }; 95 }; 95 }; 96 96 97 &gpio_keys { 97 &gpio_keys { 98 pinctrl-0 = <&gpio_power_key &gpio_hom 98 pinctrl-0 = <&gpio_power_key &gpio_home_key>; 99 99 100 home-key { 100 home-key { 101 gpios = <&gpx2 2 GPIO_ACTIVE_H 101 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; 102 linux,code = <KEY_HOME>; 102 linux,code = <KEY_HOME>; 103 label = "home key"; 103 label = "home key"; 104 debounce-interval = <10>; 104 debounce-interval = <10>; 105 wakeup-source; 105 wakeup-source; 106 }; 106 }; 107 }; 107 }; 108 108 109 &hsotg { 109 &hsotg { 110 dr_mode = "peripheral"; 110 dr_mode = "peripheral"; 111 }; 111 }; 112 112 113 &mshc_0 { 113 &mshc_0 { 114 vqmmc-supply = <&buck8_reg>; 114 vqmmc-supply = <&buck8_reg>; 115 }; 115 }; 116 116 117 &pinctrl_1 { 117 &pinctrl_1 { 118 gpio_home_key: home-key-pins { 118 gpio_home_key: home-key-pins { 119 samsung,pins = "gpx2-2"; 119 samsung,pins = "gpx2-2"; 120 samsung,pin-pud = <EXYNOS_PIN_ 120 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 121 }; 121 }; 122 }; 122 }; 123 123 124 &serial_2 { 124 &serial_2 { 125 status = "okay"; 125 status = "okay"; 126 }; 126 }; 127 127 128 &serial_3 { 128 &serial_3 { 129 status = "okay"; 129 status = "okay"; 130 }; 130 }; 131 131 132 &sound { 132 &sound { 133 model = "Odroid-X"; 133 model = "Odroid-X"; 134 samsung,audio-widgets = 134 samsung,audio-widgets = 135 "Headphone", "Headphone Jack", 135 "Headphone", "Headphone Jack", 136 "Microphone", "Mic Jack", 136 "Microphone", "Mic Jack", 137 "Microphone", "DMIC"; 137 "Microphone", "DMIC"; 138 audio-routing = "Headphone Jack", "HPL 138 audio-routing = "Headphone Jack", "HPL", 139 "Headphone Jack", "HPR 139 "Headphone Jack", "HPR", 140 "IN1", "Mic Jack", 140 "IN1", "Mic Jack", 141 "Mic Jack", "MICBIAS"; 141 "Mic Jack", "MICBIAS"; 142 }; 142 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.