Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 3 | * |
| 4 | * This file is licensed under the terms of the GNU General Public |
| 5 | * License version 2. This program is licensed "as is" without any |
| 6 | * warranty of any kind, whether express or implied. |
| 7 | */ |
| 8 | |
| 9 | /include/ "skeleton.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Marvell Orion5x SoC"; |
| 13 | compatible = "marvell,orion5x"; |
| 14 | interrupt-parent = <&intc>; |
| 15 | |
Alexander Clouter | 835f632 | 2013-03-26 21:44:46 +0000 | [diff] [blame] | 16 | aliases { |
| 17 | gpio0 = &gpio0; |
| 18 | }; |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 19 | intc: interrupt-controller { |
| 20 | compatible = "marvell,orion-intc", "marvell,intc"; |
| 21 | interrupt-controller; |
| 22 | #interrupt-cells = <1>; |
| 23 | reg = <0xf1020204 0x04>; |
| 24 | }; |
| 25 | |
| 26 | ocp@f1000000 { |
| 27 | compatible = "simple-bus"; |
| 28 | ranges = <0x00000000 0xf1000000 0x4000000 |
| 29 | 0xf2200000 0xf2200000 0x0000800>; |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
| 32 | |
| 33 | gpio0: gpio@10100 { |
| 34 | compatible = "marvell,orion-gpio"; |
| 35 | #gpio-cells = <2>; |
| 36 | gpio-controller; |
| 37 | reg = <0x10100 0x40>; |
Alexander Clouter | 835f632 | 2013-03-26 21:44:46 +0000 | [diff] [blame] | 38 | ngpios = <32>; |
| 39 | interrupt-controller; |
| 40 | #interrupt-cells = <2>; |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 41 | interrupts = <6>, <7>, <8>, <9>; |
| 42 | }; |
| 43 | |
| 44 | serial@12000 { |
| 45 | compatible = "ns16550a"; |
| 46 | reg = <0x12000 0x100>; |
| 47 | reg-shift = <2>; |
| 48 | interrupts = <3>; |
| 49 | /* set clock-frequency in board dts */ |
| 50 | status = "disabled"; |
| 51 | }; |
| 52 | |
| 53 | serial@12100 { |
| 54 | compatible = "ns16550a"; |
| 55 | reg = <0x12100 0x100>; |
| 56 | reg-shift = <2>; |
| 57 | interrupts = <4>; |
| 58 | /* set clock-frequency in board dts */ |
| 59 | status = "disabled"; |
| 60 | }; |
| 61 | |
| 62 | spi@10600 { |
| 63 | compatible = "marvell,orion-spi"; |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | cell-index = <0>; |
| 67 | reg = <0x10600 0x28>; |
| 68 | status = "disabled"; |
| 69 | }; |
| 70 | |
| 71 | wdt@20300 { |
| 72 | compatible = "marvell,orion-wdt"; |
| 73 | reg = <0x20300 0x28>; |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
Alexander Clouter | 48e8699 | 2013-03-26 21:44:47 +0000 | [diff] [blame] | 77 | ehci@50000 { |
| 78 | compatible = "marvell,orion-ehci"; |
| 79 | reg = <0x50000 0x1000>; |
| 80 | interrupts = <17>; |
| 81 | status = "disabled"; |
| 82 | }; |
| 83 | |
| 84 | ehci@a0000 { |
| 85 | compatible = "marvell,orion-ehci"; |
| 86 | reg = <0xa0000 0x1000>; |
| 87 | interrupts = <12>; |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 91 | sata@80000 { |
| 92 | compatible = "marvell,orion-sata"; |
| 93 | reg = <0x80000 0x5000>; |
| 94 | interrupts = <29>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | i2c@11000 { |
| 99 | compatible = "marvell,mv64xxx-i2c"; |
| 100 | reg = <0x11000 0x20>; |
| 101 | #address-cells = <1>; |
| 102 | #size-cells = <0>; |
| 103 | interrupts = <5>; |
| 104 | clock-frequency = <100000>; |
| 105 | status = "disabled"; |
| 106 | }; |
| 107 | |
Alexander Clouter | 4504607 | 2013-03-26 21:44:48 +0000 | [diff] [blame] | 108 | xor@60900 { |
| 109 | compatible = "marvell,orion-xor"; |
| 110 | reg = <0x60900 0x100 |
| 111 | 0x60b00 0x100>; |
| 112 | status = "okay"; |
| 113 | |
| 114 | xor00 { |
| 115 | interrupts = <30>; |
| 116 | dmacap,memcpy; |
| 117 | dmacap,xor; |
| 118 | }; |
| 119 | xor01 { |
| 120 | interrupts = <31>; |
| 121 | dmacap,memcpy; |
| 122 | dmacap,xor; |
| 123 | dmacap,memset; |
| 124 | }; |
| 125 | }; |
| 126 | |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 127 | crypto@90000 { |
| 128 | compatible = "marvell,orion-crypto"; |
| 129 | reg = <0x90000 0x10000>, |
| 130 | <0xf2200000 0x800>; |
| 131 | reg-names = "regs", "sram"; |
Alexander Clouter | e0656a9 | 2013-03-26 21:44:49 +0000 | [diff] [blame] | 132 | interrupts = <28>; |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 133 | status = "okay"; |
| 134 | }; |
Sebastian Hesselbarth | 99d6455 | 2013-07-02 13:00:20 +0200 | [diff] [blame^] | 135 | |
| 136 | mdio: mdio-bus@72004 { |
| 137 | compatible = "marvell,orion-mdio"; |
| 138 | #address-cells = <1>; |
| 139 | #size-cells = <0>; |
| 140 | reg = <0x72004 0x84>; |
| 141 | interrupts = <22>; |
| 142 | status = "disabled"; |
| 143 | |
| 144 | /* add phy nodes in board file */ |
| 145 | }; |
| 146 | |
| 147 | eth: ethernet-controller@72000 { |
| 148 | compatible = "marvell,orion-eth"; |
| 149 | #address-cells = <1>; |
| 150 | #size-cells = <0>; |
| 151 | reg = <0x72000 0x4000>; |
| 152 | marvell,tx-checksum-limit = <1600>; |
| 153 | status = "disabled"; |
| 154 | |
| 155 | ethernet-port@0 { |
| 156 | device_type = "network"; |
| 157 | compatible = "marvell,orion-eth-port"; |
| 158 | reg = <0>; |
| 159 | /* overwrite MAC address in bootloader */ |
| 160 | local-mac-address = [00 00 00 00 00 00]; |
| 161 | /* set phy-handle property in board file */ |
| 162 | }; |
| 163 | }; |
Thomas Petazzoni | 1bffb4a8 | 2012-11-16 16:39:45 +0100 | [diff] [blame] | 164 | }; |
| 165 | }; |