diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2012-08-15 07:23:25 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-08-24 16:06:56 -0400 |
commit | 53d91034cf29936cabf9a4d59270dc94ed7e6c1d (patch) | |
tree | 8e96f19f5bfd7287078cac85c38402b72e074b9a /arch/arm | |
parent | 5dd18b0150e6f4eb3a9d06a2621cad8c73a3eccf (diff) |
arm/dts: AM33XX: Set the default status of module to "disabled" state
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/am335x-bone.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/am33xx.dtsi | 9 |
3 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index a9af4db7234c..a7906cb7989f 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts | |||
@@ -17,4 +17,10 @@ | |||
17 | device_type = "memory"; | 17 | device_type = "memory"; |
18 | reg = <0x80000000 0x10000000>; /* 256 MB */ | 18 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
19 | }; | 19 | }; |
20 | |||
21 | ocp { | ||
22 | uart1: serial@44E09000 { | ||
23 | status = "okay"; | ||
24 | }; | ||
25 | }; | ||
20 | }; | 26 | }; |
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index d6a97d9eff72..5dd8a6b9f194 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -17,4 +17,10 @@ | |||
17 | device_type = "memory"; | 17 | device_type = "memory"; |
18 | reg = <0x80000000 0x10000000>; /* 256 MB */ | 18 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
19 | }; | 19 | }; |
20 | |||
21 | ocp { | ||
22 | uart1: serial@44E09000 { | ||
23 | status = "okay"; | ||
24 | }; | ||
25 | }; | ||
20 | }; | 26 | }; |
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 59509c48d7e5..5f6c8e33060f 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi | |||
@@ -102,36 +102,42 @@ | |||
102 | compatible = "ti,omap3-uart"; | 102 | compatible = "ti,omap3-uart"; |
103 | ti,hwmods = "uart1"; | 103 | ti,hwmods = "uart1"; |
104 | clock-frequency = <48000000>; | 104 | clock-frequency = <48000000>; |
105 | status = "disabled"; | ||
105 | }; | 106 | }; |
106 | 107 | ||
107 | uart2: serial@48022000 { | 108 | uart2: serial@48022000 { |
108 | compatible = "ti,omap3-uart"; | 109 | compatible = "ti,omap3-uart"; |
109 | ti,hwmods = "uart2"; | 110 | ti,hwmods = "uart2"; |
110 | clock-frequency = <48000000>; | 111 | clock-frequency = <48000000>; |
112 | status = "disabled"; | ||
111 | }; | 113 | }; |
112 | 114 | ||
113 | uart3: serial@48024000 { | 115 | uart3: serial@48024000 { |
114 | compatible = "ti,omap3-uart"; | 116 | compatible = "ti,omap3-uart"; |
115 | ti,hwmods = "uart3"; | 117 | ti,hwmods = "uart3"; |
116 | clock-frequency = <48000000>; | 118 | clock-frequency = <48000000>; |
119 | status = "disabled"; | ||
117 | }; | 120 | }; |
118 | 121 | ||
119 | uart4: serial@481A6000 { | 122 | uart4: serial@481A6000 { |
120 | compatible = "ti,omap3-uart"; | 123 | compatible = "ti,omap3-uart"; |
121 | ti,hwmods = "uart4"; | 124 | ti,hwmods = "uart4"; |
122 | clock-frequency = <48000000>; | 125 | clock-frequency = <48000000>; |
126 | status = "disabled"; | ||
123 | }; | 127 | }; |
124 | 128 | ||
125 | uart5: serial@481A8000 { | 129 | uart5: serial@481A8000 { |
126 | compatible = "ti,omap3-uart"; | 130 | compatible = "ti,omap3-uart"; |
127 | ti,hwmods = "uart5"; | 131 | ti,hwmods = "uart5"; |
128 | clock-frequency = <48000000>; | 132 | clock-frequency = <48000000>; |
133 | status = "disabled"; | ||
129 | }; | 134 | }; |
130 | 135 | ||
131 | uart6: serial@481AA000 { | 136 | uart6: serial@481AA000 { |
132 | compatible = "ti,omap3-uart"; | 137 | compatible = "ti,omap3-uart"; |
133 | ti,hwmods = "uart6"; | 138 | ti,hwmods = "uart6"; |
134 | clock-frequency = <48000000>; | 139 | clock-frequency = <48000000>; |
140 | status = "disabled"; | ||
135 | }; | 141 | }; |
136 | 142 | ||
137 | i2c1: i2c@44E0B000 { | 143 | i2c1: i2c@44E0B000 { |
@@ -139,6 +145,7 @@ | |||
139 | #address-cells = <1>; | 145 | #address-cells = <1>; |
140 | #size-cells = <0>; | 146 | #size-cells = <0>; |
141 | ti,hwmods = "i2c1"; | 147 | ti,hwmods = "i2c1"; |
148 | status = "disabled"; | ||
142 | }; | 149 | }; |
143 | 150 | ||
144 | i2c2: i2c@4802A000 { | 151 | i2c2: i2c@4802A000 { |
@@ -146,6 +153,7 @@ | |||
146 | #address-cells = <1>; | 153 | #address-cells = <1>; |
147 | #size-cells = <0>; | 154 | #size-cells = <0>; |
148 | ti,hwmods = "i2c2"; | 155 | ti,hwmods = "i2c2"; |
156 | status = "disabled"; | ||
149 | }; | 157 | }; |
150 | 158 | ||
151 | i2c3: i2c@4819C000 { | 159 | i2c3: i2c@4819C000 { |
@@ -153,6 +161,7 @@ | |||
153 | #address-cells = <1>; | 161 | #address-cells = <1>; |
154 | #size-cells = <0>; | 162 | #size-cells = <0>; |
155 | ti,hwmods = "i2c3"; | 163 | ti,hwmods = "i2c3"; |
164 | status = "disabled"; | ||
156 | }; | 165 | }; |
157 | }; | 166 | }; |
158 | }; | 167 | }; |