ARM: dts: Use labels for overriding nodes in exynos5422-odroidxu3
Usage of labels instead of full paths reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
This commit is contained in:

committed by
Kukjin Kim

parent
01997e3eb6
commit
8021dda529
@@ -28,10 +28,6 @@
|
||||
linux,stdout-path = &serial_2;
|
||||
};
|
||||
|
||||
fimd@14400000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
firmware@02073000 {
|
||||
compatible = "samsung,secure-firmware";
|
||||
reg = <0x02073000 0x1000>;
|
||||
@@ -44,7 +40,106 @@
|
||||
};
|
||||
};
|
||||
|
||||
hsi2c_4: i2c@12CA0000 {
|
||||
emmc_pwrseq: pwrseq {
|
||||
pinctrl-0 = <&emmc_nrst_pin>;
|
||||
pinctrl-names = "default";
|
||||
compatible = "mmc-pwrseq-emmc";
|
||||
reset-gpios = <&gpd1 0 1>;
|
||||
};
|
||||
|
||||
pwmleds {
|
||||
compatible = "pwm-leds";
|
||||
|
||||
greenled {
|
||||
label = "green:mmc0";
|
||||
pwms = <&pwm 1 2000000 0>;
|
||||
pwm-names = "pwm1";
|
||||
/*
|
||||
* Green LED is much brighter than the others
|
||||
* so limit its max brightness
|
||||
*/
|
||||
max_brightness = <127>;
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
|
||||
blueled {
|
||||
label = "blue:heartbeat";
|
||||
pwms = <&pwm 2 2000000 0>;
|
||||
pwm-names = "pwm2";
|
||||
max_brightness = <255>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
||||
gpioleds {
|
||||
compatible = "gpio-leds";
|
||||
redled {
|
||||
label = "red:microSD";
|
||||
gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
};
|
||||
|
||||
sound: sound {
|
||||
compatible = "simple-audio-card";
|
||||
|
||||
simple-audio-card,name = "Odroid-XU3";
|
||||
simple-audio-card,widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Speakers", "Speakers";
|
||||
simple-audio-card,routing =
|
||||
"Headphone Jack", "HPL",
|
||||
"Headphone Jack", "HPR",
|
||||
"Headphone Jack", "MICBIAS",
|
||||
"IN1", "Headphone Jack",
|
||||
"Speakers", "SPKL",
|
||||
"Speakers", "SPKR";
|
||||
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,bitclock-master = <&link0_codec>;
|
||||
simple-audio-card,frame-master = <&link0_codec>;
|
||||
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s0 0>;
|
||||
system-clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
link0_codec: simple-audio-card,codec {
|
||||
sound-dai = <&max98090>;
|
||||
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&clock_audss {
|
||||
assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
|
||||
<&clock_audss EXYNOS_MOUT_I2S>,
|
||||
<&clock_audss EXYNOS_DOUT_AUD_BUS>;
|
||||
assigned-clock-parents = <&clock CLK_FIN_PLL>,
|
||||
<&clock_audss EXYNOS_MOUT_AUDSS>;
|
||||
assigned-clock-rates = <0>,
|
||||
<0>,
|
||||
<19200000>;
|
||||
};
|
||||
|
||||
&fimd {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
&hdmi {
|
||||
status = "okay";
|
||||
hpd-gpio = <&gpx3 7 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdmi_hpd_irq>;
|
||||
|
||||
vdd_osc-supply = <&ldo7_reg>;
|
||||
vdd_pll-supply = <&ldo6_reg>;
|
||||
vdd-supply = <&ldo6_reg>;
|
||||
};
|
||||
|
||||
&hsi2c_4 {
|
||||
status = "okay";
|
||||
|
||||
s2mps11_pmic@66 {
|
||||
@@ -265,100 +360,6 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
emmc_pwrseq: pwrseq {
|
||||
pinctrl-0 = <&emmc_nrst_pin>;
|
||||
pinctrl-names = "default";
|
||||
compatible = "mmc-pwrseq-emmc";
|
||||
reset-gpios = <&gpd1 0 1>;
|
||||
};
|
||||
|
||||
i2c_2: i2c@12C80000 {
|
||||
samsung,i2c-sda-delay = <100>;
|
||||
samsung,i2c-max-bus-freq = <66000>;
|
||||
status = "okay";
|
||||
|
||||
hdmiddc@50 {
|
||||
compatible = "samsung,exynos4210-hdmiddc";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
pwmleds {
|
||||
compatible = "pwm-leds";
|
||||
|
||||
greenled {
|
||||
label = "green:mmc0";
|
||||
pwms = <&pwm 1 2000000 0>;
|
||||
pwm-names = "pwm1";
|
||||
/*
|
||||
* Green LED is much brighter than the others
|
||||
* so limit its max brightness
|
||||
*/
|
||||
max_brightness = <127>;
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
|
||||
blueled {
|
||||
label = "blue:heartbeat";
|
||||
pwms = <&pwm 2 2000000 0>;
|
||||
pwm-names = "pwm2";
|
||||
max_brightness = <255>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
||||
gpioleds {
|
||||
compatible = "gpio-leds";
|
||||
redled {
|
||||
label = "red:microSD";
|
||||
gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
};
|
||||
|
||||
sound: sound {
|
||||
compatible = "simple-audio-card";
|
||||
|
||||
simple-audio-card,name = "Odroid-XU3";
|
||||
simple-audio-card,widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Speakers", "Speakers";
|
||||
simple-audio-card,routing =
|
||||
"Headphone Jack", "HPL",
|
||||
"Headphone Jack", "HPR",
|
||||
"Headphone Jack", "MICBIAS",
|
||||
"IN1", "Headphone Jack",
|
||||
"Speakers", "SPKL",
|
||||
"Speakers", "SPKR";
|
||||
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,bitclock-master = <&link0_codec>;
|
||||
simple-audio-card,frame-master = <&link0_codec>;
|
||||
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s0 0>;
|
||||
system-clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
link0_codec: simple-audio-card,codec {
|
||||
sound-dai = <&max98090>;
|
||||
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&clock_audss {
|
||||
assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
|
||||
<&clock_audss EXYNOS_MOUT_I2S>,
|
||||
<&clock_audss EXYNOS_DOUT_AUD_BUS>;
|
||||
assigned-clock-parents = <&clock CLK_FIN_PLL>,
|
||||
<&clock_audss EXYNOS_MOUT_AUDSS>;
|
||||
assigned-clock-rates = <0>,
|
||||
<0>,
|
||||
<19200000>;
|
||||
};
|
||||
|
||||
&hsi2c_5 {
|
||||
@@ -374,19 +375,51 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2s0 {
|
||||
&i2c_0 {
|
||||
status = "okay";
|
||||
|
||||
/* A15 cluster: VDD_ARM */
|
||||
ina231@40 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x40>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* memory: VDD_MEM */
|
||||
ina231@41 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x41>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* GPU: VDD_G3D */
|
||||
ina231@44 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x44>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* A7 cluster: VDD_KFC */
|
||||
ina231@45 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x45>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
&i2c_2 {
|
||||
samsung,i2c-sda-delay = <100>;
|
||||
samsung,i2c-max-bus-freq = <66000>;
|
||||
status = "okay";
|
||||
hpd-gpio = <&gpx3 7 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdmi_hpd_irq>;
|
||||
|
||||
vdd_osc-supply = <&ldo7_reg>;
|
||||
vdd_pll-supply = <&ldo6_reg>;
|
||||
vdd-supply = <&ldo6_reg>;
|
||||
hdmiddc@50 {
|
||||
compatible = "samsung,exynos4210-hdmiddc";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2s0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mfc {
|
||||
@@ -442,46 +475,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
dr_mode = "host";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_1 {
|
||||
dr_mode = "otg";
|
||||
};
|
||||
|
||||
&i2c_0 {
|
||||
status = "okay";
|
||||
|
||||
/* A15 cluster: VDD_ARM */
|
||||
ina231@40 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x40>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* memory: VDD_MEM */
|
||||
ina231@41 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x41>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* GPU: VDD_G3D */
|
||||
ina231@44 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x44>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
|
||||
/* A7 cluster: VDD_KFC */
|
||||
ina231@45 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x45>;
|
||||
shunt-resistor = <10000>;
|
||||
};
|
||||
};
|
||||
|
||||
&pwm {
|
||||
/*
|
||||
* PWM 0 -- fan
|
||||
@@ -499,3 +492,11 @@
|
||||
clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
|
||||
clock-names = "rtc", "rtc_src";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
dr_mode = "host";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_1 {
|
||||
dr_mode = "otg";
|
||||
};
|
||||
|
Reference in New Issue
Block a user