Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Devices shared by all Juno boards |
| 3 | */ |
| 4 | |
Liviu Dudau | 7950235 | 2015-03-10 15:21:23 +0000 | [diff] [blame^] | 5 | memtimer: timer@2a810000 { |
| 6 | compatible = "arm,armv7-timer-mem"; |
| 7 | reg = <0x0 0x2a810000 0x0 0x10000>; |
| 8 | clock-frequency = <50000000>; |
| 9 | #address-cells = <2>; |
| 10 | #size-cells = <2>; |
| 11 | ranges; |
| 12 | status = "disabled"; |
| 13 | frame@2a830000 { |
| 14 | frame-number = <1>; |
| 15 | interrupts = <0 60 4>; |
| 16 | reg = <0x0 0x2a830000 0x0 0x10000>; |
| 17 | }; |
| 18 | }; |
| 19 | |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 20 | gic: interrupt-controller@2c010000 { |
| 21 | compatible = "arm,gic-400", "arm,cortex-a15-gic"; |
| 22 | reg = <0x0 0x2c010000 0 0x1000>, |
| 23 | <0x0 0x2c02f000 0 0x2000>, |
| 24 | <0x0 0x2c04f000 0 0x2000>, |
| 25 | <0x0 0x2c06f000 0 0x2000>; |
| 26 | #address-cells = <0>; |
| 27 | #interrupt-cells = <3>; |
| 28 | interrupt-controller; |
| 29 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; |
| 30 | }; |
| 31 | |
| 32 | timer { |
| 33 | compatible = "arm,armv8-timer"; |
| 34 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 35 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 36 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 37 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; |
| 38 | }; |
| 39 | |
| 40 | /include/ "juno-clocks.dtsi" |
| 41 | |
| 42 | dma@7ff00000 { |
| 43 | compatible = "arm,pl330", "arm,primecell"; |
| 44 | reg = <0x0 0x7ff00000 0 0x1000>; |
| 45 | #dma-cells = <1>; |
| 46 | #dma-channels = <8>; |
| 47 | #dma-requests = <32>; |
| 48 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, |
| 49 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, |
| 50 | <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, |
| 51 | <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, |
| 52 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, |
| 53 | <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, |
| 54 | <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 55 | <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; |
| 56 | clocks = <&soc_faxiclk>; |
| 57 | clock-names = "apb_pclk"; |
| 58 | }; |
| 59 | |
| 60 | soc_uart0: uart@7ff80000 { |
| 61 | compatible = "arm,pl011", "arm,primecell"; |
| 62 | reg = <0x0 0x7ff80000 0x0 0x1000>; |
| 63 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 64 | clocks = <&soc_uartclk>, <&soc_refclk100mhz>; |
| 65 | clock-names = "uartclk", "apb_pclk"; |
| 66 | }; |
| 67 | |
| 68 | i2c@7ffa0000 { |
| 69 | compatible = "snps,designware-i2c"; |
| 70 | reg = <0x0 0x7ffa0000 0x0 0x1000>; |
| 71 | #address-cells = <1>; |
| 72 | #size-cells = <0>; |
| 73 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 74 | clock-frequency = <400000>; |
| 75 | i2c-sda-hold-time-ns = <500>; |
| 76 | clocks = <&soc_smc50mhz>; |
| 77 | |
| 78 | dvi0: dvi-transmitter@70 { |
| 79 | compatible = "nxp,tda998x"; |
| 80 | reg = <0x70>; |
| 81 | }; |
| 82 | |
| 83 | dvi1: dvi-transmitter@71 { |
| 84 | compatible = "nxp,tda998x"; |
| 85 | reg = <0x71>; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | ohci@7ffb0000 { |
| 90 | compatible = "generic-ohci"; |
| 91 | reg = <0x0 0x7ffb0000 0x0 0x10000>; |
| 92 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; |
| 93 | clocks = <&soc_usb48mhz>; |
| 94 | }; |
| 95 | |
| 96 | ehci@7ffc0000 { |
| 97 | compatible = "generic-ehci"; |
| 98 | reg = <0x0 0x7ffc0000 0x0 0x10000>; |
| 99 | interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; |
| 100 | clocks = <&soc_usb48mhz>; |
| 101 | }; |
| 102 | |
| 103 | memory-controller@7ffd0000 { |
| 104 | compatible = "arm,pl354", "arm,primecell"; |
| 105 | reg = <0 0x7ffd0000 0 0x1000>; |
| 106 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, |
| 107 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
| 108 | clocks = <&soc_smc50mhz>; |
| 109 | clock-names = "apb_pclk"; |
| 110 | }; |
| 111 | |
| 112 | memory@80000000 { |
| 113 | device_type = "memory"; |
| 114 | /* last 16MB of the first memory area is reserved for secure world use by firmware */ |
| 115 | reg = <0x00000000 0x80000000 0x0 0x7f000000>, |
| 116 | <0x00000008 0x80000000 0x1 0x80000000>; |
| 117 | }; |
| 118 | |
| 119 | smb { |
| 120 | compatible = "simple-bus"; |
| 121 | #address-cells = <2>; |
| 122 | #size-cells = <1>; |
| 123 | ranges = <0 0 0 0x08000000 0x04000000>, |
| 124 | <1 0 0 0x14000000 0x04000000>, |
| 125 | <2 0 0 0x18000000 0x04000000>, |
| 126 | <3 0 0 0x1c000000 0x04000000>, |
| 127 | <4 0 0 0x0c000000 0x04000000>, |
| 128 | <5 0 0 0x10000000 0x04000000>; |
| 129 | |
| 130 | #interrupt-cells = <1>; |
| 131 | interrupt-map-mask = <0 0 15>; |
| 132 | interrupt-map = <0 0 0 &gic 0 68 IRQ_TYPE_LEVEL_HIGH>, |
| 133 | <0 0 1 &gic 0 69 IRQ_TYPE_LEVEL_HIGH>, |
| 134 | <0 0 2 &gic 0 70 IRQ_TYPE_LEVEL_HIGH>, |
| 135 | <0 0 3 &gic 0 160 IRQ_TYPE_LEVEL_HIGH>, |
| 136 | <0 0 4 &gic 0 161 IRQ_TYPE_LEVEL_HIGH>, |
| 137 | <0 0 5 &gic 0 162 IRQ_TYPE_LEVEL_HIGH>, |
| 138 | <0 0 6 &gic 0 163 IRQ_TYPE_LEVEL_HIGH>, |
| 139 | <0 0 7 &gic 0 164 IRQ_TYPE_LEVEL_HIGH>, |
| 140 | <0 0 8 &gic 0 165 IRQ_TYPE_LEVEL_HIGH>, |
| 141 | <0 0 9 &gic 0 166 IRQ_TYPE_LEVEL_HIGH>, |
| 142 | <0 0 10 &gic 0 167 IRQ_TYPE_LEVEL_HIGH>, |
| 143 | <0 0 11 &gic 0 168 IRQ_TYPE_LEVEL_HIGH>, |
| 144 | <0 0 12 &gic 0 169 IRQ_TYPE_LEVEL_HIGH>; |
| 145 | |
| 146 | /include/ "juno-motherboard.dtsi" |
| 147 | }; |