Marek Szyprowski | ec601ff | 2014-07-16 02:54:07 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Hardkernel's Exynos4412 based ODROID-U3 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com> |
| 5 | * |
| 6 | * Device tree source file for Hardkernel's ODROID-U3 board which is based |
| 7 | * on Samsung's Exynos4412 SoC. |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License version 2 as |
| 11 | * published by the Free Software Foundation. |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | #include "exynos4412-odroid-common.dtsi" |
Alexis Ballier | c8b34e3 | 2015-08-14 02:27:33 +0900 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
Marek Szyprowski | ec601ff | 2014-07-16 02:54:07 +0900 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Hardkernel ODROID-U3 board based on Exynos4412"; |
| 20 | compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; |
| 21 | |
| 22 | memory { |
| 23 | reg = <0x40000000 0x7FF00000>; |
| 24 | }; |
| 25 | |
| 26 | leds { |
| 27 | compatible = "gpio-leds"; |
| 28 | led1 { |
| 29 | label = "led1:heart"; |
| 30 | gpios = <&gpc1 0 1>; |
| 31 | default-state = "on"; |
| 32 | linux,default-trigger = "heartbeat"; |
| 33 | }; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | &usb3503 { |
| 38 | clock-names = "refclk"; |
| 39 | clocks = <&pmu_system_controller 0>; |
| 40 | refclk-frequency = <24000000>; |
| 41 | }; |
| 42 | |
| 43 | &ehci { |
| 44 | port@1 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | port@2 { |
| 48 | status = "okay"; |
| 49 | }; |
| 50 | }; |
Sylwester Nawrocki | 5a85274 | 2014-07-16 03:16:44 +0900 | [diff] [blame] | 51 | |
| 52 | &sound { |
Sylwester Nawrocki | 1669633 | 2015-02-03 15:06:21 +0100 | [diff] [blame] | 53 | simple-audio-card,name = "Odroid-U3"; |
| 54 | simple-audio-card,widgets = |
| 55 | "Headphone", "Headphone Jack", |
| 56 | "Speakers", "Speakers"; |
| 57 | simple-audio-card,routing = |
Sylwester Nawrocki | 5a85274 | 2014-07-16 03:16:44 +0900 | [diff] [blame] | 58 | "Headphone Jack", "HPL", |
| 59 | "Headphone Jack", "HPR", |
| 60 | "Headphone Jack", "MICBIAS", |
| 61 | "IN1", "Headphone Jack", |
| 62 | "Speakers", "SPKL", |
| 63 | "Speakers", "SPKR"; |
| 64 | }; |
Alexis Ballier | c8b34e3 | 2015-08-14 02:27:33 +0900 | [diff] [blame] | 65 | |
| 66 | &spi_1 { |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&spi1_bus>; |
| 69 | cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; |
| 70 | status = "okay"; |
| 71 | }; |