Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Souce for Buffalo KuroboxHD |
| 3 | * |
| 4 | * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHD, or use |
| 5 | * the default configuration linkstation_defconfig. |
| 6 | * |
| 7 | * Based on sandpoint.dts |
| 8 | * |
| 9 | * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de> |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 10 | * Copyright 2008 Freescale Semiconductor, Inc. |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 11 | * |
| 12 | * This file is licensed under |
| 13 | * the terms of the GNU General Public License version 2. This program |
| 14 | * is licensed "as is" without any warranty of any kind, whether express |
| 15 | * or implied. |
| 16 | |
| 17 | XXXX add flash parts, rtc, ?? |
| 18 | |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 19 | */ |
| 20 | |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 21 | /dts-v1/; |
| 22 | |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 23 | / { |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 24 | model = "KuroboxHD"; |
| 25 | compatible = "linkstation"; |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <1>; |
| 28 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 29 | aliases { |
| 30 | serial0 = &serial0; |
| 31 | serial1 = &serial1; |
| 32 | pci0 = &pci0; |
| 33 | }; |
| 34 | |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 35 | cpus { |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 36 | #address-cells = <1>; |
| 37 | #size-cells = <0>; |
| 38 | |
| 39 | PowerPC,603e { /* Really 8241 */ |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 40 | device_type = "cpu"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 41 | reg = <0x0>; |
| 42 | clock-frequency = <200000000>; /* Fixed by bootloader */ |
| 43 | timebase-frequency = <24391680>; /* Fixed by bootloader */ |
Guennadi Liakhovetski | f2d32db | 2007-07-22 08:43:11 +1000 | [diff] [blame] | 44 | bus-frequency = <0>; /* Fixed by bootloader */ |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 45 | /* Following required by dtc but not used */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 46 | i-cache-size = <0x4000>; |
| 47 | d-cache-size = <0x4000>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
| 51 | memory { |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 52 | device_type = "memory"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 53 | reg = <0x0 0x4000000>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 57 | #address-cells = <1>; |
| 58 | #size-cells = <1>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 59 | device_type = "soc"; |
| 60 | compatible = "mpc10x"; |
| 61 | store-gathering = <0>; /* 0 == off, !0 == on */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 62 | reg = <0x80000000 0x100000>; |
| 63 | ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ |
| 64 | 0xfc000000 0xfc000000 0x100000 /* EUMB */ |
| 65 | 0xfe000000 0xfe000000 0xc00000 /* pci i/o space */ |
| 66 | 0xfec00000 0xfec00000 0x300000 /* pci cfg regs */ |
| 67 | 0xfef00000 0xfef00000 0x100000>; /* pci iack */ |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 68 | |
| 69 | i2c@80003000 { |
Guennadi Liakhovetski | f2d32db | 2007-07-22 08:43:11 +1000 | [diff] [blame] | 70 | #address-cells = <1>; |
| 71 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 72 | cell-index = <0>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 73 | compatible = "fsl-i2c"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 74 | reg = <0x80003000 0x1000>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 75 | interrupts = <5 2>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 76 | interrupt-parent = <&mpic>; |
Guennadi Liakhovetski | f2d32db | 2007-07-22 08:43:11 +1000 | [diff] [blame] | 77 | |
| 78 | rtc@32 { |
Guennadi Liakhovetski | 7f2862c | 2007-08-26 00:08:11 +0200 | [diff] [blame] | 79 | compatible = "ricoh,rs5c372a"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 80 | reg = <0x32>; |
Guennadi Liakhovetski | f2d32db | 2007-07-22 08:43:11 +1000 | [diff] [blame] | 81 | }; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 82 | }; |
| 83 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 84 | serial0: serial@80004500 { |
| 85 | cell-index = <0>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 86 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 87 | compatible = "fsl,ns16550", "ns16550"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 88 | reg = <0x80004500 0x8>; |
| 89 | clock-frequency = <97553800>; |
| 90 | current-speed = <9600>; |
Guennadi Liakhovetski | 7f2862c | 2007-08-26 00:08:11 +0200 | [diff] [blame] | 91 | interrupts = <9 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 92 | interrupt-parent = <&mpic>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 93 | }; |
| 94 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 95 | serial1: serial@80004600 { |
| 96 | cell-index = <1>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 97 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 98 | compatible = "fsl,ns16550", "ns16550"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 99 | reg = <0x80004600 0x8>; |
| 100 | clock-frequency = <97553800>; |
| 101 | current-speed = <57600>; |
| 102 | interrupts = <10 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 103 | interrupt-parent = <&mpic>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 104 | }; |
| 105 | |
Guennadi Liakhovetski | f2d32db | 2007-07-22 08:43:11 +1000 | [diff] [blame] | 106 | mpic: interrupt-controller@80040000 { |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 107 | #interrupt-cells = <2>; |
| 108 | #address-cells = <0>; |
| 109 | device_type = "open-pic"; |
| 110 | compatible = "chrp,open-pic"; |
| 111 | interrupt-controller; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 112 | reg = <0x80040000 0x40000>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 113 | }; |
| 114 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 115 | pci0: pci@fec00000 { |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 116 | #address-cells = <3>; |
| 117 | #size-cells = <2>; |
| 118 | #interrupt-cells = <1>; |
| 119 | device_type = "pci"; |
| 120 | compatible = "mpc10x-pci"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 121 | reg = <0xfec00000 0x400000>; |
| 122 | ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000 |
| 123 | 0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>; |
| 124 | bus-range = <0 255>; |
| 125 | clock-frequency = <133333333>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 126 | interrupt-parent = <&mpic>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 127 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 128 | interrupt-map = < |
Grant Likely | e3f6478 | 2007-04-22 07:24:04 +1000 | [diff] [blame] | 129 | /* IDSEL 11 - IRQ0 ETH */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 130 | 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 131 | 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 132 | 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 133 | 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 |
Grant Likely | e3f6478 | 2007-04-22 07:24:04 +1000 | [diff] [blame] | 134 | /* IDSEL 12 - IRQ1 IDE0 */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 135 | 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 136 | 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 137 | 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 138 | 0x6000 0x0 0x0 0x4 &mpic 0x0 0x1 |
Grant Likely | e3f6478 | 2007-04-22 07:24:04 +1000 | [diff] [blame] | 139 | /* IDSEL 14 - IRQ3 USB2.0 */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 140 | 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 141 | 0x7000 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 142 | 0x7000 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 143 | 0x7000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Guennadi Liakhovetski | 8500adc | 2007-01-28 23:31:08 +0100 | [diff] [blame] | 144 | >; |
| 145 | }; |
| 146 | }; |
| 147 | }; |