Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Use labels for overriding nodes in exynos5440 boards

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>

authored by

Krzysztof Kozlowski and committed by
Kukjin Kim
01997e3e e7d7ef30

+50 -51
+5 -5
arch/arm/boot/dts/exynos5440-sd5v1.dts
··· 27 27 }; 28 28 }; 29 29 30 - gmac: ethernet@00230000 { 31 - fixed_phy; 32 - phy_addr = <1>; 33 - }; 34 - 35 30 spi { 36 31 status = "disabled"; 37 32 }; 38 33 34 + }; 35 + 36 + &gmac { 37 + fixed_phy; 38 + phy_addr = <1>; 39 39 };
+45 -46
arch/arm/boot/dts/exynos5440-ssdk5440.dts
··· 20 20 bootargs = "root=/dev/sda2 rw rootwait ignore_loglevel earlyprintk no_console_suspend mem=2048M@0x80000000 mem=6144M@0x100000000 console=ttySAC0,115200"; 21 21 }; 22 22 23 - spi_0: spi@D0000 { 24 - 25 - flash: w25q128@0 { 26 - #address-cells = <1>; 27 - #size-cells = <1>; 28 - compatible = "winbond,w25q128"; 29 - spi-max-frequency = <15625000>; 30 - reg = <0>; 31 - controller-data { 32 - samsung,spi-feedback-delay = <0>; 33 - }; 34 - 35 - partition@00000 { 36 - label = "BootLoader"; 37 - reg = <0x60000 0x80000>; 38 - read-only; 39 - }; 40 - 41 - partition@e0000 { 42 - label = "Recovery-Kernel"; 43 - reg = <0xe0000 0x300000>; 44 - read-only; 45 - }; 46 - 47 - partition@3e0000 { 48 - label = "CRAM-FS"; 49 - reg = <0x3e0000 0x700000>; 50 - read-only; 51 - }; 52 - 53 - partition@ae0000 { 54 - label = "User-Data"; 55 - reg = <0xae0000 0x520000>; 56 - }; 57 - 58 - }; 59 - 60 - }; 61 - 62 23 fixed-rate-clocks { 63 24 xtal { 64 25 compatible = "samsung,clock-xtal"; 65 26 clock-frequency = <50000000>; 66 27 }; 67 28 }; 29 + }; 68 30 69 - pcie@290000 { 70 - reset-gpio = <&pin_ctrl 5 0>; 71 - status = "okay"; 31 + &pcie_0 { 32 + reset-gpio = <&pin_ctrl 5 0>; 33 + status = "okay"; 34 + }; 35 + 36 + &pcie_1 { 37 + reset-gpio = <&pin_ctrl 22 0>; 38 + status = "okay"; 39 + }; 40 + 41 + &spi_0 { 42 + flash: w25q128@0 { 43 + #address-cells = <1>; 44 + #size-cells = <1>; 45 + compatible = "winbond,w25q128"; 46 + spi-max-frequency = <15625000>; 47 + reg = <0>; 48 + controller-data { 49 + samsung,spi-feedback-delay = <0>; 50 + }; 51 + 52 + partition@00000 { 53 + label = "BootLoader"; 54 + reg = <0x60000 0x80000>; 55 + read-only; 56 + }; 57 + 58 + partition@e0000 { 59 + label = "Recovery-Kernel"; 60 + reg = <0xe0000 0x300000>; 61 + read-only; 62 + }; 63 + 64 + partition@3e0000 { 65 + label = "CRAM-FS"; 66 + reg = <0x3e0000 0x700000>; 67 + read-only; 68 + }; 69 + 70 + partition@ae0000 { 71 + label = "User-Data"; 72 + reg = <0xae0000 0x520000>; 73 + }; 74 + 72 75 }; 73 76 74 - pcie@2a0000 { 75 - reset-gpio = <&pin_ctrl 22 0>; 76 - status = "okay"; 77 - }; 78 77 };