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