1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Hardkernel's Exynos4412 based ODROID-U3 board device tree source 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com> 6724ba675SRob Herring * 7724ba675SRob Herring * Device tree source file for Hardkernel's ODROID-U3 board which is based 8724ba675SRob Herring * on Samsung's Exynos4412 SoC. 9724ba675SRob Herring */ 10724ba675SRob Herring 11724ba675SRob Herring/dts-v1/; 12724ba675SRob Herring#include <dt-bindings/leds/common.h> 13724ba675SRob Herring#include "exynos4412-odroid-common.dtsi" 14724ba675SRob Herring#include "exynos4412-prime.dtsi" 15724ba675SRob Herring 16724ba675SRob Herring/ { 17724ba675SRob Herring model = "Hardkernel ODROID-U3 board based on Exynos4412"; 18724ba675SRob Herring compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; 19724ba675SRob Herring 20724ba675SRob Herring aliases { 21724ba675SRob Herring ethernet = ðernet; 22724ba675SRob Herring }; 23724ba675SRob Herring 24724ba675SRob Herring memory@40000000 { 25724ba675SRob Herring device_type = "memory"; 26724ba675SRob Herring reg = <0x40000000 0x7ff00000>; 27724ba675SRob Herring }; 28724ba675SRob Herring 29724ba675SRob Herring vbus_otg_reg: regulator-1 { 30724ba675SRob Herring compatible = "regulator-fixed"; 31724ba675SRob Herring regulator-name = "VBUS_VDD_5.0V"; 32724ba675SRob Herring regulator-min-microvolt = <5000000>; 33724ba675SRob Herring regulator-max-microvolt = <5000000>; 34724ba675SRob Herring gpio = <&gpl2 0 GPIO_ACTIVE_HIGH>; 35724ba675SRob Herring enable-active-high; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring leds { 39724ba675SRob Herring compatible = "gpio-leds"; 40724ba675SRob Herring led1 { 41724ba675SRob Herring function = LED_FUNCTION_HEARTBEAT; 42724ba675SRob Herring color = <LED_COLOR_ID_BLUE>; 43724ba675SRob Herring gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; 44724ba675SRob Herring default-state = "on"; 45724ba675SRob Herring linux,default-trigger = "heartbeat"; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring fan0: pwm-fan { 50724ba675SRob Herring compatible = "pwm-fan"; 51724ba675SRob Herring pwms = <&pwm 0 10000 0>; 52724ba675SRob Herring #cooling-cells = <2>; 53724ba675SRob Herring cooling-levels = <0 102 170 230>; 54724ba675SRob Herring }; 55724ba675SRob Herring}; 56724ba675SRob Herring 57724ba675SRob Herring&adc { 58724ba675SRob Herring vdd-supply = <&ldo10_reg>; 59724ba675SRob Herring /* Nothing connected to ADC inputs, keep it disabled */ 60724ba675SRob Herring}; 61724ba675SRob Herring 62724ba675SRob Herring/* Supply for LAN9730/SMSC95xx */ 63724ba675SRob Herring&buck8_reg { 64724ba675SRob Herring regulator-name = "BUCK8_P3V3"; 65724ba675SRob Herring regulator-min-microvolt = <3300000>; 66724ba675SRob Herring regulator-max-microvolt = <3300000>; 67724ba675SRob Herring}; 68724ba675SRob Herring 69724ba675SRob Herring&cpu_thermal { 70724ba675SRob Herring cooling-maps { 71724ba675SRob Herring map0 { 72724ba675SRob Herring trip = <&cpu_alert1>; 73724ba675SRob Herring cooling-device = <&cpu0 9 9>, <&cpu1 9 9>, 74724ba675SRob Herring <&cpu2 9 9>, <&cpu3 9 9>, 75724ba675SRob Herring <&fan0 1 2>; 76724ba675SRob Herring }; 77724ba675SRob Herring map1 { 78724ba675SRob Herring trip = <&cpu_alert2>; 79724ba675SRob Herring cooling-device = <&cpu0 15 15>, <&cpu1 15 15>, 80724ba675SRob Herring <&cpu2 15 15>, <&cpu3 15 15>, 81724ba675SRob Herring <&fan0 2 3>; 82724ba675SRob Herring }; 83724ba675SRob Herring map2 { 84724ba675SRob Herring trip = <&cpu_alert0>; 85724ba675SRob Herring cooling-device = <&fan0 0 1>; 86724ba675SRob Herring }; 87724ba675SRob Herring }; 88724ba675SRob Herring}; 89724ba675SRob Herring 90724ba675SRob Herring&hdmicec { 91724ba675SRob Herring needs-hpd; 92724ba675SRob Herring}; 93724ba675SRob Herring 94724ba675SRob Herring/* VDDQ for MSHC (eMMC card) */ 95724ba675SRob Herring&ldo22_reg { 96724ba675SRob Herring regulator-name = "LDO22_VDDQ_MMC4_2.8V"; 97724ba675SRob Herring regulator-min-microvolt = <2800000>; 98724ba675SRob Herring regulator-max-microvolt = <2800000>; 99724ba675SRob Herring}; 100724ba675SRob Herring 101724ba675SRob Herring&mshc_0 { 102724ba675SRob Herring vqmmc-supply = <&ldo22_reg>; 103724ba675SRob Herring}; 104724ba675SRob Herring 105724ba675SRob Herring&pwm { 106724ba675SRob Herring pinctrl-0 = <&pwm0_out>; 107724ba675SRob Herring pinctrl-names = "default"; 108724ba675SRob Herring samsung,pwm-outputs = <0>; 109724ba675SRob Herring status = "okay"; 110724ba675SRob Herring}; 111724ba675SRob Herring 112724ba675SRob Herring&usb3503 { 113724ba675SRob Herring clock-names = "refclk"; 114724ba675SRob Herring clocks = <&pmu_system_controller 0>; 115724ba675SRob Herring refclk-frequency = <24000000>; 116724ba675SRob Herring}; 117724ba675SRob Herring 118724ba675SRob Herring&ehci { 119724ba675SRob Herring #address-cells = <1>; 120724ba675SRob Herring #size-cells = <0>; 121724ba675SRob Herring phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>; 122724ba675SRob Herring phy-names = "hsic0", "hsic1"; 123724ba675SRob Herring 124724ba675SRob Herring ethernet: ethernet@2 { 125724ba675SRob Herring compatible = "usb424,9730"; 126724ba675SRob Herring reg = <2>; 127724ba675SRob Herring local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ 128724ba675SRob Herring }; 129724ba675SRob Herring}; 130724ba675SRob Herring 131724ba675SRob Herring&hsotg { 132724ba675SRob Herring dr_mode = "otg"; 133724ba675SRob Herring vbus-supply = <&vbus_otg_reg>; 134724ba675SRob Herring}; 135724ba675SRob Herring 136724ba675SRob Herring&sound { 137724ba675SRob Herring model = "Odroid-U3"; 138724ba675SRob Herring samsung,audio-widgets = 139724ba675SRob Herring "Headphone", "Headphone Jack", 140724ba675SRob Herring "Speakers", "Speakers"; 141*f632a437SKrzysztof Kozlowski audio-routing = "Headphone Jack", "HPL", 142724ba675SRob Herring "Headphone Jack", "HPR", 143724ba675SRob Herring "Headphone Jack", "MICBIAS", 144724ba675SRob Herring "IN1", "Headphone Jack", 145724ba675SRob Herring "Speakers", "SPKL", 146724ba675SRob Herring "Speakers", "SPKR"; 147724ba675SRob Herring}; 148724ba675SRob Herring 149724ba675SRob Herring&spi_1 { 150724ba675SRob Herring pinctrl-names = "default"; 151724ba675SRob Herring pinctrl-0 = <&spi1_bus>; 152724ba675SRob Herring cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; 153724ba675SRob Herring status = "okay"; 154724ba675SRob Herring}; 155