Tony Prisk | cb935e7 | 2012-08-03 20:54:16 +1200 | [diff] [blame] | 1 | /* |
| 2 | * vt8500.dtsi - Device tree file for VIA VT8500 SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> |
| 5 | * |
| 6 | * Licensed under GPLv2 or later |
| 7 | */ |
| 8 | |
| 9 | /include/ "skeleton.dtsi" |
| 10 | |
| 11 | / { |
| 12 | compatible = "via,vt8500"; |
| 13 | |
| 14 | soc { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | compatible = "simple-bus"; |
| 18 | ranges; |
| 19 | interrupt-parent = <&intc>; |
| 20 | |
| 21 | intc: interrupt-controller@d8140000 { |
| 22 | compatible = "via,vt8500-intc"; |
| 23 | interrupt-controller; |
| 24 | reg = <0xd8140000 0x10000>; |
| 25 | #interrupt-cells = <1>; |
| 26 | }; |
| 27 | |
| 28 | gpio: gpio-controller@d8110000 { |
| 29 | compatible = "via,vt8500-gpio"; |
| 30 | gpio-controller; |
| 31 | reg = <0xd8110000 0x10000>; |
| 32 | #gpio-cells = <3>; |
| 33 | }; |
| 34 | |
| 35 | pmc@d8130000 { |
| 36 | compatible = "via,vt8500-pmc"; |
| 37 | reg = <0xd8130000 0x1000>; |
| 38 | |
| 39 | clocks { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | |
| 43 | ref24: ref24M { |
| 44 | #clock-cells = <0>; |
| 45 | compatible = "fixed-clock"; |
| 46 | clock-frequency = <24000000>; |
| 47 | }; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | timer@d8130100 { |
| 52 | compatible = "via,vt8500-timer"; |
| 53 | reg = <0xd8130100 0x28>; |
| 54 | interrupts = <36>; |
| 55 | }; |
| 56 | |
| 57 | ehci@d8007900 { |
| 58 | compatible = "via,vt8500-ehci"; |
| 59 | reg = <0xd8007900 0x200>; |
| 60 | interrupts = <43>; |
| 61 | }; |
| 62 | |
| 63 | uhci@d8007b00 { |
| 64 | compatible = "platform-uhci"; |
| 65 | reg = <0xd8007b00 0x200>; |
| 66 | interrupts = <43>; |
| 67 | }; |
| 68 | |
| 69 | fb@d800e400 { |
| 70 | compatible = "via,vt8500-fb"; |
| 71 | reg = <0xd800e400 0x400>; |
| 72 | interrupts = <12>; |
| 73 | display = <&display>; |
| 74 | default-mode = <&mode0>; |
| 75 | }; |
| 76 | |
| 77 | ge_rops@d8050400 { |
| 78 | compatible = "wm,prizm-ge-rops"; |
| 79 | reg = <0xd8050400 0x100>; |
| 80 | }; |
| 81 | |
| 82 | uart@d8200000 { |
| 83 | compatible = "via,vt8500-uart"; |
| 84 | reg = <0xd8200000 0x1040>; |
| 85 | interrupts = <32>; |
| 86 | clocks = <&ref24>; |
| 87 | }; |
| 88 | |
| 89 | uart@d82b0000 { |
| 90 | compatible = "via,vt8500-uart"; |
| 91 | reg = <0xd82b0000 0x1040>; |
| 92 | interrupts = <33>; |
| 93 | clocks = <&ref24>; |
| 94 | }; |
| 95 | |
| 96 | uart@d8210000 { |
| 97 | compatible = "via,vt8500-uart"; |
| 98 | reg = <0xd8210000 0x1040>; |
| 99 | interrupts = <47>; |
| 100 | clocks = <&ref24>; |
| 101 | }; |
| 102 | |
| 103 | uart@d82c0000 { |
| 104 | compatible = "via,vt8500-uart"; |
| 105 | reg = <0xd82c0000 0x1040>; |
| 106 | interrupts = <50>; |
| 107 | clocks = <&ref24>; |
| 108 | }; |
| 109 | |
| 110 | rtc@d8100000 { |
| 111 | compatible = "via,vt8500-rtc"; |
| 112 | reg = <0xd8100000 0x10000>; |
| 113 | interrupts = <48>; |
| 114 | }; |
| 115 | }; |
| 116 | }; |