Linus Walleij | 4980f9b | 2012-09-06 09:08:24 +0100 | [diff] [blame] | 1 | /* |
| 2 | * SoC core Device Tree for the ARM Integrator platforms |
| 3 | */ |
| 4 | |
| 5 | /include/ "skeleton.dtsi" |
| 6 | |
| 7 | / { |
Linus Walleij | bb4dbef | 2013-06-16 02:44:27 +0200 | [diff] [blame] | 8 | core-module@10000000 { |
Linus Walleij | b437c52 | 2014-10-17 16:18:59 +0200 | [diff] [blame] | 9 | compatible = "arm,core-module-integrator", "syscon"; |
Linus Walleij | bb4dbef | 2013-06-16 02:44:27 +0200 | [diff] [blame] | 10 | reg = <0x10000000 0x200>; |
Linus Walleij | bcc397d | 2014-10-22 10:05:44 +0200 | [diff] [blame] | 11 | |
| 12 | /* Use core module LED to indicate CPU load */ |
| 13 | led@0c.0 { |
| 14 | compatible = "register-bit-led"; |
| 15 | offset = <0x0c>; |
| 16 | mask = <0x01>; |
| 17 | label = "integrator:core_module"; |
| 18 | linux,default-trigger = "cpu0"; |
| 19 | default-state = "on"; |
| 20 | }; |
Linus Walleij | bb4dbef | 2013-06-16 02:44:27 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
Linus Walleij | 307b966 | 2013-06-17 23:58:25 +0200 | [diff] [blame] | 23 | ebi@12000000 { |
| 24 | compatible = "arm,external-bus-interface"; |
| 25 | reg = <0x12000000 0x100>; |
| 26 | }; |
| 27 | |
Linus Walleij | 4980f9b | 2012-09-06 09:08:24 +0100 | [diff] [blame] | 28 | timer@13000000 { |
| 29 | reg = <0x13000000 0x100>; |
| 30 | interrupt-parent = <&pic>; |
| 31 | interrupts = <5>; |
| 32 | }; |
| 33 | |
| 34 | timer@13000100 { |
| 35 | reg = <0x13000100 0x100>; |
| 36 | interrupt-parent = <&pic>; |
| 37 | interrupts = <6>; |
| 38 | }; |
| 39 | |
| 40 | timer@13000200 { |
| 41 | reg = <0x13000200 0x100>; |
| 42 | interrupt-parent = <&pic>; |
| 43 | interrupts = <7>; |
| 44 | }; |
| 45 | |
| 46 | pic@14000000 { |
| 47 | compatible = "arm,versatile-fpga-irq"; |
| 48 | #interrupt-cells = <1>; |
| 49 | interrupt-controller; |
| 50 | reg = <0x14000000 0x100>; |
| 51 | clear-mask = <0xffffffff>; |
| 52 | }; |
Linus Walleij | 4672cdd | 2012-09-06 09:08:47 +0100 | [diff] [blame] | 53 | |
Linus Walleij | 73efd53 | 2012-09-06 09:09:11 +0100 | [diff] [blame] | 54 | flash@24000000 { |
| 55 | compatible = "cfi-flash"; |
| 56 | reg = <0x24000000 0x02000000>; |
| 57 | }; |
| 58 | |
Linus Walleij | 4672cdd | 2012-09-06 09:08:47 +0100 | [diff] [blame] | 59 | fpga { |
| 60 | compatible = "arm,amba-bus", "simple-bus"; |
| 61 | #address-cells = <1>; |
| 62 | #size-cells = <1>; |
| 63 | ranges; |
| 64 | interrupt-parent = <&pic>; |
| 65 | |
| 66 | /* |
| 67 | * These PrimeCells are in the same locations and using the |
| 68 | * same interrupts in all Integrators, however the silicon |
| 69 | * version deployed is different. |
| 70 | */ |
| 71 | rtc@15000000 { |
| 72 | reg = <0x15000000 0x1000>; |
| 73 | interrupts = <8>; |
| 74 | }; |
| 75 | |
| 76 | uart@16000000 { |
| 77 | reg = <0x16000000 0x1000>; |
| 78 | interrupts = <1>; |
| 79 | }; |
| 80 | |
| 81 | uart@17000000 { |
| 82 | reg = <0x17000000 0x1000>; |
| 83 | interrupts = <2>; |
| 84 | }; |
| 85 | |
| 86 | kmi@18000000 { |
| 87 | reg = <0x18000000 0x1000>; |
| 88 | interrupts = <3>; |
| 89 | }; |
| 90 | |
| 91 | kmi@19000000 { |
| 92 | reg = <0x19000000 0x1000>; |
| 93 | interrupts = <4>; |
| 94 | }; |
Linus Walleij | 7e61006 | 2014-10-15 17:33:13 +0200 | [diff] [blame] | 95 | |
| 96 | syscon { |
| 97 | /* Debug registers mapped as syscon */ |
| 98 | compatible = "syscon"; |
| 99 | reg = <0x1a000000 0x10>; |
| 100 | |
| 101 | led@04.0 { |
| 102 | compatible = "register-bit-led"; |
| 103 | offset = <0x04>; |
| 104 | mask = <0x01>; |
| 105 | label = "integrator:green0"; |
| 106 | linux,default-trigger = "heartbeat"; |
| 107 | default-state = "on"; |
| 108 | }; |
| 109 | led@04.1 { |
| 110 | compatible = "register-bit-led"; |
| 111 | offset = <0x04>; |
| 112 | mask = <0x02>; |
| 113 | label = "integrator:yellow"; |
| 114 | default-state = "off"; |
| 115 | }; |
| 116 | led@04.2 { |
| 117 | compatible = "register-bit-led"; |
| 118 | offset = <0x04>; |
| 119 | mask = <0x04>; |
| 120 | label = "integrator:red"; |
| 121 | default-state = "off"; |
| 122 | }; |
| 123 | led@04.3 { |
| 124 | compatible = "register-bit-led"; |
| 125 | offset = <0x04>; |
| 126 | mask = <0x08>; |
| 127 | label = "integrator:green1"; |
| 128 | default-state = "off"; |
| 129 | }; |
| 130 | }; |
Linus Walleij | 4672cdd | 2012-09-06 09:08:47 +0100 | [diff] [blame] | 131 | }; |
Linus Walleij | 4980f9b | 2012-09-06 09:08:24 +0100 | [diff] [blame] | 132 | }; |