Commit 2eaab06e authored by Stephen Warren's avatar Stephen Warren

ARM: dt: tegra: consistent basic property ordering

Put properties in order compatible, reg, interrupts, then anything else
the node has.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
parent c04abb3a
...@@ -270,11 +270,11 @@ i2c@7000c500 { ...@@ -270,11 +270,11 @@ i2c@7000c500 {
}; };
nvec { nvec {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,nvec"; compatible = "nvidia,nvec";
reg = <0x7000c500 0x100>; reg = <0x7000c500 0x100>;
interrupts = <0 92 0x04>; interrupts = <0 92 0x04>;
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <80000>; clock-frequency = <80000>;
request-gpios = <&gpio 170 0>; /* gpio PV2 */ request-gpios = <&gpio 170 0>; /* gpio PV2 */
slave-addr = <138>; slave-addr = <138>;
......
...@@ -6,10 +6,10 @@ / { ...@@ -6,10 +6,10 @@ / {
intc: interrupt-controller { intc: interrupt-controller {
compatible = "arm,cortex-a9-gic"; compatible = "arm,cortex-a9-gic";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0x50041000 0x1000 reg = <0x50041000 0x1000
0x50040100 0x0100>; 0x50040100 0x0100>;
interrupt-controller;
#interrupt-cells = <3>;
}; };
apbdma: dma { apbdma: dma {
...@@ -117,35 +117,35 @@ serial@70006400 { ...@@ -117,35 +117,35 @@ serial@70006400 {
}; };
i2c@7000c000 { i2c@7000c000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra20-i2c"; compatible = "nvidia,tegra20-i2c";
reg = <0x7000c000 0x100>; reg = <0x7000c000 0x100>;
interrupts = <0 38 0x04>; interrupts = <0 38 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000c400 { i2c@7000c400 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra20-i2c"; compatible = "nvidia,tegra20-i2c";
reg = <0x7000c400 0x100>; reg = <0x7000c400 0x100>;
interrupts = <0 84 0x04>; interrupts = <0 84 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000c500 { i2c@7000c500 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra20-i2c"; compatible = "nvidia,tegra20-i2c";
reg = <0x7000c500 0x100>; reg = <0x7000c500 0x100>;
interrupts = <0 92 0x04>; interrupts = <0 92 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000d000 { i2c@7000d000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra20-i2c-dvc"; compatible = "nvidia,tegra20-i2c-dvc";
reg = <0x7000d000 0x200>; reg = <0x7000d000 0x200>;
interrupts = <0 53 0x04>; interrupts = <0 53 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
pmc { pmc {
...@@ -167,10 +167,10 @@ gart { ...@@ -167,10 +167,10 @@ gart {
}; };
emc { emc {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra20-emc"; compatible = "nvidia,tegra20-emc";
reg = <0x7000f400 0x200>; reg = <0x7000f400 0x200>;
#address-cells = <1>;
#size-cells = <0>;
}; };
usb@c5000000 { usb@c5000000 {
......
...@@ -6,10 +6,10 @@ / { ...@@ -6,10 +6,10 @@ / {
intc: interrupt-controller { intc: interrupt-controller {
compatible = "arm,cortex-a9-gic"; compatible = "arm,cortex-a9-gic";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0x50041000 0x1000 reg = <0x50041000 0x1000
0x50040100 0x0100>; 0x50040100 0x0100>;
interrupt-controller;
#interrupt-cells = <3>;
}; };
apbdma: dma { apbdma: dma {
...@@ -113,43 +113,43 @@ serial@70006400 { ...@@ -113,43 +113,43 @@ serial@70006400 {
}; };
i2c@7000c000 { i2c@7000c000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
reg = <0x7000c000 0x100>; reg = <0x7000c000 0x100>;
interrupts = <0 38 0x04>; interrupts = <0 38 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000c400 { i2c@7000c400 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
reg = <0x7000c400 0x100>; reg = <0x7000c400 0x100>;
interrupts = <0 84 0x04>; interrupts = <0 84 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000c500 { i2c@7000c500 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
reg = <0x7000c500 0x100>; reg = <0x7000c500 0x100>;
interrupts = <0 92 0x04>; interrupts = <0 92 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000c700 { i2c@7000c700 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
reg = <0x7000c700 0x100>; reg = <0x7000c700 0x100>;
interrupts = <0 120 0x04>; interrupts = <0 120 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
i2c@7000d000 { i2c@7000d000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
reg = <0x7000d000 0x100>; reg = <0x7000d000 0x100>;
interrupts = <0 53 0x04>; interrupts = <0 53 0x04>;
#address-cells = <1>;
#size-cells = <0>;
}; };
pmc { pmc {
......
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