diff options
| author | Tony Lindgren <tony@atomide.com> | 2012-09-10 13:20:44 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2012-09-10 13:34:51 -0400 |
| commit | 642f12b4c7505943a6f50101d5b087a74fd9ae72 (patch) | |
| tree | e0f984e1d5beaa5f35cfa83769e5f78dd57c1347 /arch | |
| parent | 84eca270d745fc987bb06e55782fb342a38aa6b1 (diff) | |
arm/dts: Add omap36xx.dtsi file and rename omap3-beagle to omap3-beagle-xm
The extra serial port is not available on 34xx. And the current
omap3-beagle.dts file is for omap3-beagle-xm.dts as it lists 512MB
of memory.
Please somebody submit a new omap3-beagle.dts for the original 34xx
BeagleBoard after testing it properly.
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/boot/dts/omap3-beagle-xm.dts (renamed from arch/arm/boot/dts/omap3-beagle.dts) | 6 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3.dtsi | 7 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap36xx.dtsi | 25 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/Makefile.boot | 2 |
4 files changed, 29 insertions, 11 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index a9d98d5ade9a..c38cf76df81f 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts | |||
| @@ -7,11 +7,11 @@ | |||
| 7 | */ | 7 | */ |
| 8 | /dts-v1/; | 8 | /dts-v1/; |
| 9 | 9 | ||
| 10 | /include/ "omap3.dtsi" | 10 | /include/ "omap36xx.dtsi" |
| 11 | 11 | ||
| 12 | / { | 12 | / { |
| 13 | model = "TI OMAP3 BeagleBoard"; | 13 | model = "TI OMAP3 BeagleBoard xM"; |
| 14 | compatible = "ti,omap3-beagle", "ti,omap3"; | 14 | compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3"; |
| 15 | 15 | ||
| 16 | memory { | 16 | memory { |
| 17 | device_type = "memory"; | 17 | device_type = "memory"; |
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index f024bb3034a6..05c26c4f6606 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | serial0 = &uart1; | 17 | serial0 = &uart1; |
| 18 | serial1 = &uart2; | 18 | serial1 = &uart2; |
| 19 | serial2 = &uart3; | 19 | serial2 = &uart3; |
| 20 | serial3 = &uart4; | ||
| 21 | }; | 20 | }; |
| 22 | 21 | ||
| 23 | cpus { | 22 | cpus { |
| @@ -141,12 +140,6 @@ | |||
| 141 | clock-frequency = <48000000>; | 140 | clock-frequency = <48000000>; |
| 142 | }; | 141 | }; |
| 143 | 142 | ||
| 144 | uart4: serial@49042000 { | ||
| 145 | compatible = "ti,omap3-uart"; | ||
| 146 | ti,hwmods = "uart4"; | ||
| 147 | clock-frequency = <48000000>; | ||
| 148 | }; | ||
| 149 | |||
| 150 | i2c1: i2c@48070000 { | 143 | i2c1: i2c@48070000 { |
| 151 | compatible = "ti,omap3-i2c"; | 144 | compatible = "ti,omap3-i2c"; |
| 152 | #address-cells = <1>; | 145 | #address-cells = <1>; |
diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi new file mode 100644 index 000000000000..96bf0287cb9f --- /dev/null +++ b/arch/arm/boot/dts/omap36xx.dtsi | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | * Device Tree Source for OMAP3 SoC | ||
| 3 | * | ||
| 4 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | ||
| 5 | * | ||
| 6 | * This file is licensed under the terms of the GNU General Public License | ||
| 7 | * version 2. This program is licensed "as is" without any warranty of any | ||
| 8 | * kind, whether express or implied. | ||
| 9 | */ | ||
| 10 | |||
| 11 | /include/ "omap3.dtsi" | ||
| 12 | |||
| 13 | / { | ||
| 14 | aliases { | ||
| 15 | serial3 = &uart4; | ||
| 16 | }; | ||
| 17 | |||
| 18 | ocp { | ||
| 19 | uart4: serial@49042000 { | ||
| 20 | compatible = "ti,omap3-uart"; | ||
| 21 | ti,hwmods = "uart4"; | ||
| 22 | clock-frequency = <48000000>; | ||
| 23 | }; | ||
| 24 | }; | ||
| 25 | }; | ||
diff --git a/arch/arm/mach-omap2/Makefile.boot b/arch/arm/mach-omap2/Makefile.boot index 18813ab1bb3c..be0fe9226d67 100644 --- a/arch/arm/mach-omap2/Makefile.boot +++ b/arch/arm/mach-omap2/Makefile.boot | |||
| @@ -3,7 +3,7 @@ params_phys-y := 0x80000100 | |||
| 3 | initrd_phys-y := 0x80800000 | 3 | initrd_phys-y := 0x80800000 |
| 4 | 4 | ||
| 5 | dtb-$(CONFIG_SOC_OMAP2420) += omap2420-h4.dtb | 5 | dtb-$(CONFIG_SOC_OMAP2420) += omap2420-h4.dtb |
| 6 | dtb-$(CONFIG_ARCH_OMAP3) += omap3-beagle.dtb omap3-evm.dtb omap3-tobi.dtb | 6 | dtb-$(CONFIG_ARCH_OMAP3) += omap3-beagle-xm.dtb omap3-evm.dtb omap3-tobi.dtb |
| 7 | dtb-$(CONFIG_ARCH_OMAP4) += omap4-panda.dtb omap4-pandaES.dtb | 7 | dtb-$(CONFIG_ARCH_OMAP4) += omap4-panda.dtb omap4-pandaES.dtb |
| 8 | dtb-$(CONFIG_ARCH_OMAP4) += omap4-var_som.dtb omap4-sdp.dtb | 8 | dtb-$(CONFIG_ARCH_OMAP4) += omap4-var_som.dtb omap4-sdp.dtb |
| 9 | dtb-$(CONFIG_SOC_OMAP5) += omap5-evm.dtb | 9 | dtb-$(CONFIG_SOC_OMAP5) += omap5-evm.dtb |
