AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for AM33XX 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/ "skeleton.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "ti,am33xx"; |
| 15 | |
| 16 | aliases { |
| 17 | serial0 = &uart1; |
| 18 | serial1 = &uart2; |
| 19 | serial2 = &uart3; |
| 20 | serial3 = &uart4; |
| 21 | serial4 = &uart5; |
| 22 | serial5 = &uart6; |
| 23 | }; |
| 24 | |
| 25 | cpus { |
| 26 | cpu@0 { |
| 27 | compatible = "arm,cortex-a8"; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | /* |
| 32 | * The soc node represents the soc top level view. It is uses for IPs |
| 33 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 34 | */ |
| 35 | soc { |
| 36 | compatible = "ti,omap-infra"; |
| 37 | mpu { |
| 38 | compatible = "ti,omap3-mpu"; |
| 39 | ti,hwmods = "mpu"; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | /* |
| 44 | * XXX: Use a flat representation of the AM33XX interconnect. |
| 45 | * The real AM33XX interconnect network is quite complex.Since |
| 46 | * that will not bring real advantage to represent that in DT |
| 47 | * for the moment, just use a fake OCP bus entry to represent |
| 48 | * the whole bus hierarchy. |
| 49 | */ |
| 50 | ocp { |
| 51 | compatible = "simple-bus"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | ranges; |
| 55 | ti,hwmods = "l3_main"; |
| 56 | |
| 57 | intc: interrupt-controller@48200000 { |
| 58 | compatible = "ti,omap2-intc"; |
| 59 | interrupt-controller; |
| 60 | #interrupt-cells = <1>; |
| 61 | ti,intc-size = <128>; |
| 62 | reg = <0x48200000 0x1000>; |
| 63 | }; |
| 64 | |
| 65 | gpio1: gpio@44e07000 { |
| 66 | compatible = "ti,omap4-gpio"; |
| 67 | ti,hwmods = "gpio1"; |
| 68 | gpio-controller; |
| 69 | #gpio-cells = <2>; |
| 70 | interrupt-controller; |
| 71 | #interrupt-cells = <1>; |
| 72 | }; |
| 73 | |
| 74 | gpio2: gpio@4804C000 { |
| 75 | compatible = "ti,omap4-gpio"; |
| 76 | ti,hwmods = "gpio2"; |
| 77 | gpio-controller; |
| 78 | #gpio-cells = <2>; |
| 79 | interrupt-controller; |
| 80 | #interrupt-cells = <1>; |
| 81 | }; |
| 82 | |
| 83 | gpio3: gpio@481AC000 { |
| 84 | compatible = "ti,omap4-gpio"; |
| 85 | ti,hwmods = "gpio3"; |
| 86 | gpio-controller; |
| 87 | #gpio-cells = <2>; |
| 88 | interrupt-controller; |
| 89 | #interrupt-cells = <1>; |
| 90 | }; |
| 91 | |
| 92 | gpio4: gpio@481AE000 { |
| 93 | compatible = "ti,omap4-gpio"; |
| 94 | ti,hwmods = "gpio4"; |
| 95 | gpio-controller; |
| 96 | #gpio-cells = <2>; |
| 97 | interrupt-controller; |
| 98 | #interrupt-cells = <1>; |
| 99 | }; |
| 100 | |
| 101 | uart1: serial@44E09000 { |
| 102 | compatible = "ti,omap3-uart"; |
| 103 | ti,hwmods = "uart1"; |
| 104 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 105 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | uart2: serial@48022000 { |
| 109 | compatible = "ti,omap3-uart"; |
| 110 | ti,hwmods = "uart2"; |
| 111 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 112 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | uart3: serial@48024000 { |
| 116 | compatible = "ti,omap3-uart"; |
| 117 | ti,hwmods = "uart3"; |
| 118 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 119 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | uart4: serial@481A6000 { |
| 123 | compatible = "ti,omap3-uart"; |
| 124 | ti,hwmods = "uart4"; |
| 125 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 126 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 127 | }; |
| 128 | |
| 129 | uart5: serial@481A8000 { |
| 130 | compatible = "ti,omap3-uart"; |
| 131 | ti,hwmods = "uart5"; |
| 132 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 133 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | uart6: serial@481AA000 { |
| 137 | compatible = "ti,omap3-uart"; |
| 138 | ti,hwmods = "uart6"; |
| 139 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 140 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 141 | }; |
| 142 | |
| 143 | i2c1: i2c@44E0B000 { |
| 144 | compatible = "ti,omap4-i2c"; |
| 145 | #address-cells = <1>; |
| 146 | #size-cells = <0>; |
| 147 | ti,hwmods = "i2c1"; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 148 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | i2c2: i2c@4802A000 { |
| 152 | compatible = "ti,omap4-i2c"; |
| 153 | #address-cells = <1>; |
| 154 | #size-cells = <0>; |
| 155 | ti,hwmods = "i2c2"; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 156 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 157 | }; |
| 158 | |
| 159 | i2c3: i2c@4819C000 { |
| 160 | compatible = "ti,omap4-i2c"; |
| 161 | #address-cells = <1>; |
| 162 | #size-cells = <0>; |
| 163 | ti,hwmods = "i2c3"; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame^] | 164 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 165 | }; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 166 | }; |
| 167 | }; |