Linux Audio

Check our new training course

Open-source upstreaming

Need help get the support for your hardware in upstream Linux?
Loading...
v5.14.15
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Hardkernel Odroid XU3 board device tree source
 4 *
 5 * Copyright (c) 2014 Collabora Ltd.
 6 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 7 *		http://www.samsung.com
 8 */
 
 
 
 
 9
10/dts-v1/;
11#include "exynos5422-odroidxu3-common.dtsi"
12#include "exynos5422-odroidxu3-audio.dtsi"
13#include "exynos54xx-odroidxu-leds.dtsi"
14
15/ {
16	model = "Hardkernel Odroid XU3";
17	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
18
19	aliases {
20		ethernet = &ethernet;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21	};
22};
23
24&i2c_0 {
25	status = "okay";
26
27	/* A15 cluster: VDD_ARM */
28	power-sensor@40 {
29		compatible = "ti,ina231";
30		reg = <0x40>;
31		shunt-resistor = <10000>;
32	};
33
34	/* memory: VDD_MEM */
35	power-sensor@41 {
36		compatible = "ti,ina231";
37		reg = <0x41>;
38		shunt-resistor = <10000>;
39	};
40
41	/* GPU: VDD_G3D */
42	power-sensor@44 {
43		compatible = "ti,ina231";
44		reg = <0x44>;
45		shunt-resistor = <10000>;
46	};
47
48	/* A7 cluster: VDD_KFC */
49	power-sensor@45 {
50		compatible = "ti,ina231";
51		reg = <0x45>;
52		shunt-resistor = <10000>;
53	};
54};
55
56&ldo28_reg {
57	regulator-name = "dp_p3v3";
58	regulator-min-microvolt = <3300000>;
59	regulator-max-microvolt = <3300000>;
60};
61
62&pwm {
63	/*
64	 * PWM 0 -- fan
65	 * PWM 1 -- Green LED
66	 * PWM 2 -- Blue LED
67	 * PWM 3 -- on MIPI connector for backlight
68	 */
69	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
70	pinctrl-names = "default";
71	status = "okay";
72};
73
74&usbdrd_dwc3_1 {
75	dr_mode = "peripheral";
76};
77
78&usbhost2 {
79	#address-cells = <1>;
80	#size-cells = <0>;
81
82	hub@1 {
83		compatible = "usb0424,9514";
84		reg = <1>;
85		#address-cells = <1>;
86		#size-cells = <0>;
87
88		ethernet: usbether@1 {
89			compatible = "usb0424,ec00";
90			reg = <1>;
91			local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
92		};
93	};
94};
v4.6
 
  1/*
  2 * Hardkernel Odroid XU3 board device tree source
  3 *
  4 * Copyright (c) 2014 Collabora Ltd.
  5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  6 *		http://www.samsung.com
  7 *
  8 * This program is free software; you can redistribute it and/or modify
  9 * it under the terms of the GNU General Public License version 2 as
 10 * published by the Free Software Foundation.
 11*/
 12
 13/dts-v1/;
 14#include "exynos5422-odroidxu3-common.dtsi"
 15#include "exynos5422-odroidxu3-audio.dtsi"
 
 16
 17/ {
 18	model = "Hardkernel Odroid XU3";
 19	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
 20
 21	pwmleds {
 22		compatible = "pwm-leds";
 23
 24		greenled {
 25			label = "green:mmc0";
 26			pwms = <&pwm 1 2000000 0>;
 27			pwm-names = "pwm1";
 28			/*
 29			 * Green LED is much brighter than the others
 30			 * so limit its max brightness
 31			 */
 32			max_brightness = <127>;
 33			linux,default-trigger = "mmc0";
 34		};
 35
 36		blueled {
 37			label = "blue:heartbeat";
 38			pwms = <&pwm 2 2000000 0>;
 39			pwm-names = "pwm2";
 40			max_brightness = <255>;
 41			linux,default-trigger = "heartbeat";
 42		};
 43	};
 44
 45	gpioleds {
 46		compatible = "gpio-leds";
 47		redled {
 48			label = "red:microSD";
 49			gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
 50			default-state = "off";
 51			linux,default-trigger = "mmc1";
 52		};
 53	};
 54};
 55
 56&i2c_0 {
 57	status = "okay";
 58
 59	/* A15 cluster: VDD_ARM */
 60	ina231@40 {
 61		compatible = "ti,ina231";
 62		reg = <0x40>;
 63		shunt-resistor = <10000>;
 64	};
 65
 66	/* memory: VDD_MEM */
 67	ina231@41 {
 68		compatible = "ti,ina231";
 69		reg = <0x41>;
 70		shunt-resistor = <10000>;
 71	};
 72
 73	/* GPU: VDD_G3D */
 74	ina231@44 {
 75		compatible = "ti,ina231";
 76		reg = <0x44>;
 77		shunt-resistor = <10000>;
 78	};
 79
 80	/* A7 cluster: VDD_KFC */
 81	ina231@45 {
 82		compatible = "ti,ina231";
 83		reg = <0x45>;
 84		shunt-resistor = <10000>;
 85	};
 86};
 87
 
 
 
 
 
 
 88&pwm {
 89	/*
 90	 * PWM 0 -- fan
 91	 * PWM 1 -- Green LED
 92	 * PWM 2 -- Blue LED
 93	 * PWM 3 -- on MIPI connector for backlight
 94	 */
 95	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
 96	pinctrl-names = "default";
 97	status = "okay";
 98};
 99
100&usbdrd_dwc3_1 {
101	dr_mode = "peripheral";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102};