Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "skeleton.dtsi" |
| 4 | |
| 5 | #include <dt-bindings/clock/qcom,gcc-msm8660.h> |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 6 | #include <dt-bindings/soc/qcom,gsbi.h> |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 7 | |
| 8 | / { |
| 9 | model = "Qualcomm MSM8660"; |
| 10 | compatible = "qcom,msm8660"; |
| 11 | interrupt-parent = <&intc>; |
| 12 | |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 13 | cpus { |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <0>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 16 | |
| 17 | cpu@0 { |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 18 | compatible = "qcom,scorpion"; |
| 19 | enable-method = "qcom,gcc-msm8660"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 20 | device_type = "cpu"; |
| 21 | reg = <0>; |
| 22 | next-level-cache = <&L2>; |
| 23 | }; |
| 24 | |
| 25 | cpu@1 { |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 26 | compatible = "qcom,scorpion"; |
| 27 | enable-method = "qcom,gcc-msm8660"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 28 | device_type = "cpu"; |
| 29 | reg = <1>; |
| 30 | next-level-cache = <&L2>; |
| 31 | }; |
| 32 | |
| 33 | L2: l2-cache { |
| 34 | compatible = "cache"; |
| 35 | cache-level = <2>; |
| 36 | }; |
| 37 | }; |
| 38 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 39 | soc: soc { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <1>; |
| 42 | ranges; |
| 43 | compatible = "simple-bus"; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 44 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 45 | intc: interrupt-controller@2080000 { |
| 46 | compatible = "qcom,msm-8660-qgic"; |
| 47 | interrupt-controller; |
| 48 | #interrupt-cells = <3>; |
| 49 | reg = < 0x02080000 0x1000 >, |
| 50 | < 0x02081000 0x1000 >; |
| 51 | }; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 52 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 53 | timer@2000000 { |
| 54 | compatible = "qcom,scss-timer", "qcom,msm-timer"; |
| 55 | interrupts = <1 0 0x301>, |
| 56 | <1 1 0x301>, |
| 57 | <1 2 0x301>; |
| 58 | reg = <0x02000000 0x100>; |
| 59 | clock-frequency = <27000000>, |
| 60 | <32768>; |
| 61 | cpu-offset = <0x40000>; |
| 62 | }; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 63 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 64 | msmgpio: gpio@800000 { |
| 65 | compatible = "qcom,msm-gpio"; |
| 66 | reg = <0x00800000 0x4000>; |
| 67 | gpio-controller; |
| 68 | #gpio-cells = <2>; |
| 69 | ngpio = <173>; |
| 70 | interrupts = <0 16 0x4>; |
| 71 | interrupt-controller; |
| 72 | #interrupt-cells = <2>; |
| 73 | }; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 74 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 75 | gcc: clock-controller@900000 { |
| 76 | compatible = "qcom,gcc-msm8660"; |
| 77 | #clock-cells = <1>; |
| 78 | #reset-cells = <1>; |
| 79 | reg = <0x900000 0x4000>; |
| 80 | }; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 81 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame^] | 82 | gsbi12: gsbi@19c00000 { |
| 83 | compatible = "qcom,gsbi-v1.0.0"; |
| 84 | reg = <0x19c00000 0x100>; |
| 85 | clocks = <&gcc GSBI12_H_CLK>; |
| 86 | clock-names = "iface"; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <1>; |
| 89 | ranges; |
| 90 | |
| 91 | serial@19c40000 { |
| 92 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 93 | reg = <0x19c40000 0x1000>, |
| 94 | <0x19c00000 0x1000>; |
| 95 | interrupts = <0 195 0x0>; |
| 96 | clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>; |
| 97 | clock-names = "core", "iface"; |
| 98 | status = "disabled"; |
| 99 | }; |
| 100 | }; |
| 101 | |
| 102 | qcom,ssbi@500000 { |
| 103 | compatible = "qcom,ssbi"; |
| 104 | reg = <0x500000 0x1000>; |
| 105 | qcom,controller-type = "pmic-arbiter"; |
| 106 | }; |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 107 | }; |
| 108 | }; |