arm/dts: AM33XX: Set the default status of module to "disabled" state
authorVaibhav Hiremath <hvaibhav@ti.com>
Wed, 15 Aug 2012 11:23:25 +0000 (16:53 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Aug 2012 20:06:56 +0000 (13:06 -0700)
Ideally in common SoC dtsi file should set all modules
to "disabled" state and it should get enabled in respective
EVM/Board dts file as per usage.

This patch sets default status of all modules to "disabled"
state in am33xx.dtsi file. Currently there are no modules
supported as part of Bone and EVM dts support, so care
to add entry "status = "okay"" while adding support for any
module.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-bone.dts
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am33xx.dtsi

index a9af4db7234cae6be39556547b005683b3f47ba0..a7906cb7989f57eb29e14fec80dbec8115051329 100644 (file)
                device_type = "memory";
                reg = <0x80000000 0x10000000>; /* 256 MB */
        };
+
+       ocp {
+               uart1: serial@44E09000 {
+                       status = "okay";
+               };
+       };
 };
index d6a97d9eff7289c0200b665980260397f85cc946..5dd8a6b9f1949009d1d881d6a70f44238b333e04 100644 (file)
                device_type = "memory";
                reg = <0x80000000 0x10000000>; /* 256 MB */
        };
+
+       ocp {
+               uart1: serial@44E09000 {
+                       status = "okay";
+               };
+       };
 };
index 59509c48d7e5a5c2474f73ac028f73537e0a6659..5f6c8e33060f77b56cd9dd38461b8f80e15e6958 100644 (file)
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart1";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                uart2: serial@48022000 {
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart2";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                uart3: serial@48024000 {
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart3";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                uart4: serial@481A6000 {
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart4";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                uart5: serial@481A8000 {
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart5";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                uart6: serial@481AA000 {
                        compatible = "ti,omap3-uart";
                        ti,hwmods = "uart6";
                        clock-frequency = <48000000>;
+                       status = "disabled";
                };
 
                i2c1: i2c@44E0B000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        ti,hwmods = "i2c1";
+                       status = "disabled";
                };
 
                i2c2: i2c@4802A000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        ti,hwmods = "i2c2";
+                       status = "disabled";
                };
 
                i2c3: i2c@4819C000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        ti,hwmods = "i2c3";
+                       status = "disabled";
                };
        };
 };