Commit bad0b9c9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Kukjin Kim

ARM: dts: Use labels for overriding nodes in exynos4210-smdkv310

Usage of labels instead of full paths reduces possible mistakes when
overriding nodes.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 165d658e
...@@ -30,181 +30,181 @@ chosen { ...@@ -30,181 +30,181 @@ chosen {
stdout-path = &serial_1; stdout-path = &serial_1;
}; };
sdhci@12530000 { fixed-rate-clocks {
bus-width = <4>; xxti {
pinctrl-names = "default"; compatible = "samsung,clock-xxti";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; clock-frequency = <12000000>;
status = "okay"; };
};
g2d@12800000 { xusbxti {
status = "okay"; compatible = "samsung,clock-xusbxti";
clock-frequency = <24000000>;
};
}; };
};
codec@13400000 { &g2d {
samsung,mfc-r = <0x43000000 0x800000>; status = "okay";
samsung,mfc-l = <0x51000000 0x800000>; };
status = "okay";
};
serial@13800000 { &i2c_0 {
status = "okay"; #address-cells = <1>;
}; #size-cells = <0>;
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <100000>;
status = "okay";
serial@13810000 { eeprom@50 {
status = "okay"; compatible = "samsung,24ad0xd1";
reg = <0x50>;
}; };
serial@13820000 { eeprom@52 {
status = "okay"; compatible = "samsung,24ad0xd1";
reg = <0x52>;
}; };
};
serial@13830000 { &keypad {
status = "okay"; samsung,keypad-num-rows = <2>;
samsung,keypad-num-columns = <8>;
linux,keypad-no-autorepeat;
linux,keypad-wakeup;
pinctrl-names = "default";
pinctrl-0 = <&keypad_rows &keypad_cols>;
status = "okay";
key_1 {
keypad,row = <0>;
keypad,column = <3>;
linux,code = <2>;
}; };
pinctrl@11000000 { key_2 {
keypad_rows: keypad-rows { keypad,row = <0>;
samsung,pins = "gpx2-0", "gpx2-1"; keypad,column = <4>;
samsung,pin-function = <3>; linux,code = <3>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
"gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
samsung,pin-function = <3>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
}; };
keypad@100A0000 { key_3 {
samsung,keypad-num-rows = <2>; keypad,row = <0>;
samsung,keypad-num-columns = <8>; keypad,column = <5>;
linux,keypad-no-autorepeat; linux,code = <4>;
linux,keypad-wakeup; };
pinctrl-names = "default";
pinctrl-0 = <&keypad_rows &keypad_cols>;
status = "okay";
key_1 { key_4 {
keypad,row = <0>; keypad,row = <0>;
keypad,column = <3>; keypad,column = <6>;
linux,code = <2>; linux,code = <5>;
}; };
key_2 { key_5 {
keypad,row = <0>; keypad,row = <0>;
keypad,column = <4>; keypad,column = <7>;
linux,code = <3>; linux,code = <6>;
}; };
key_3 { key_a {
keypad,row = <0>; keypad,row = <1>;
keypad,column = <5>; keypad,column = <3>;
linux,code = <4>; linux,code = <30>;
}; };
key_4 { key_b {
keypad,row = <0>; keypad,row = <1>;
keypad,column = <6>; keypad,column = <4>;
linux,code = <5>; linux,code = <48>;
}; };
key_5 { key_c {
keypad,row = <0>; keypad,row = <1>;
keypad,column = <7>; keypad,column = <5>;
linux,code = <6>; linux,code = <46>;
}; };
key_a { key_d {
keypad,row = <1>; keypad,row = <1>;
keypad,column = <3>; keypad,column = <6>;
linux,code = <30>; linux,code = <32>;
}; };
key_b { key_e {
keypad,row = <1>; keypad,row = <1>;
keypad,column = <4>; keypad,column = <7>;
linux,code = <48>; linux,code = <18>;
}; };
};
key_c { &mfc {
keypad,row = <1>; samsung,mfc-r = <0x43000000 0x800000>;
keypad,column = <5>; samsung,mfc-l = <0x51000000 0x800000>;
linux,code = <46>; status = "okay";
}; };
key_d { &pinctrl_1 {
keypad,row = <1>; keypad_rows: keypad-rows {
keypad,column = <6>; samsung,pins = "gpx2-0", "gpx2-1";
linux,code = <32>; samsung,pin-function = <3>;
}; samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
key_e { keypad_cols: keypad-cols {
keypad,row = <1>; samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
keypad,column = <7>; "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
linux,code = <18>; samsung,pin-function = <3>;
}; samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
}; };
};
i2c@13860000 { &sdhci_2 {
#address-cells = <1>; bus-width = <4>;
#size-cells = <0>; pinctrl-names = "default";
samsung,i2c-sda-delay = <100>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
samsung,i2c-max-bus-freq = <100000>; status = "okay";
status = "okay"; };
eeprom@50 {
compatible = "samsung,24ad0xd1";
reg = <0x50>;
};
eeprom@52 { &serial_0 {
compatible = "samsung,24ad0xd1"; status = "okay";
reg = <0x52>; };
};
};
spi_2: spi@13940000 { &serial_1 {
cs-gpios = <&gpc1 2 0>; status = "okay";
status = "okay"; };
w25x80@0 { &serial_2 {
#address-cells = <1>; status = "okay";
#size-cells = <1>; };
compatible = "w25x80";
reg = <0>;
spi-max-frequency = <1000000>;
controller-data { &serial_3 {
samsung,spi-feedback-delay = <0>; status = "okay";
}; };
partition@0 { &spi_2 {
label = "U-Boot"; cs-gpios = <&gpc1 2 0>;
reg = <0x0 0x40000>; status = "okay";
read-only;
};
partition@40000 { w25x80@0 {
label = "Kernel"; #address-cells = <1>;
reg = <0x40000 0xc0000>; #size-cells = <1>;
}; compatible = "w25x80";
reg = <0>;
spi-max-frequency = <1000000>;
controller-data {
samsung,spi-feedback-delay = <0>;
}; };
};
fixed-rate-clocks { partition@0 {
xxti { label = "U-Boot";
compatible = "samsung,clock-xxti"; reg = <0x0 0x40000>;
clock-frequency = <12000000>; read-only;
}; };
xusbxti { partition@40000 {
compatible = "samsung,clock-xusbxti"; label = "Kernel";
clock-frequency = <24000000>; reg = <0x40000 0xc0000>;
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment