18500adc7SGuennadi Liakhovetski/* 28500adc7SGuennadi Liakhovetski * Device Tree Souce for Buffalo KuroboxHD 38500adc7SGuennadi Liakhovetski * 48500adc7SGuennadi Liakhovetski * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHD, or use 58500adc7SGuennadi Liakhovetski * the default configuration linkstation_defconfig. 68500adc7SGuennadi Liakhovetski * 78500adc7SGuennadi Liakhovetski * Based on sandpoint.dts 88500adc7SGuennadi Liakhovetski * 98500adc7SGuennadi Liakhovetski * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de> 10998c6103SKumar Gala * Copyright 2008 Freescale Semiconductor, Inc. 118500adc7SGuennadi Liakhovetski * 128500adc7SGuennadi Liakhovetski * This file is licensed under 138500adc7SGuennadi Liakhovetski * the terms of the GNU General Public License version 2. This program 148500adc7SGuennadi Liakhovetski * is licensed "as is" without any warranty of any kind, whether express 158500adc7SGuennadi Liakhovetski * or implied. 168500adc7SGuennadi Liakhovetski 178500adc7SGuennadi LiakhovetskiXXXX add flash parts, rtc, ?? 188500adc7SGuennadi Liakhovetski 198500adc7SGuennadi Liakhovetski */ 208500adc7SGuennadi Liakhovetski 21998c6103SKumar Gala/dts-v1/; 22998c6103SKumar Gala 238500adc7SGuennadi Liakhovetski/ { 248500adc7SGuennadi Liakhovetski model = "KuroboxHD"; 258500adc7SGuennadi Liakhovetski compatible = "linkstation"; 268500adc7SGuennadi Liakhovetski #address-cells = <1>; 278500adc7SGuennadi Liakhovetski #size-cells = <1>; 288500adc7SGuennadi Liakhovetski 29ea082fa9SKumar Gala aliases { 30ea082fa9SKumar Gala serial0 = &serial0; 31ea082fa9SKumar Gala serial1 = &serial1; 32ea082fa9SKumar Gala pci0 = &pci0; 33ea082fa9SKumar Gala }; 34ea082fa9SKumar Gala 358500adc7SGuennadi Liakhovetski cpus { 368500adc7SGuennadi Liakhovetski #address-cells = <1>; 378500adc7SGuennadi Liakhovetski #size-cells = <0>; 388500adc7SGuennadi Liakhovetski 398500adc7SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 408500adc7SGuennadi Liakhovetski device_type = "cpu"; 41998c6103SKumar Gala reg = <0x0>; 42998c6103SKumar Gala clock-frequency = <200000000>; /* Fixed by bootloader */ 43998c6103SKumar Gala timebase-frequency = <24391680>; /* Fixed by bootloader */ 44f2d32db3SGuennadi Liakhovetski bus-frequency = <0>; /* Fixed by bootloader */ 458500adc7SGuennadi Liakhovetski /* Following required by dtc but not used */ 46998c6103SKumar Gala i-cache-size = <0x4000>; 47998c6103SKumar Gala d-cache-size = <0x4000>; 488500adc7SGuennadi Liakhovetski }; 498500adc7SGuennadi Liakhovetski }; 508500adc7SGuennadi Liakhovetski 518500adc7SGuennadi Liakhovetski memory { 528500adc7SGuennadi Liakhovetski device_type = "memory"; 53998c6103SKumar Gala reg = <0x0 0x4000000>; 548500adc7SGuennadi Liakhovetski }; 558500adc7SGuennadi Liakhovetski 568500adc7SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 578500adc7SGuennadi Liakhovetski #address-cells = <1>; 588500adc7SGuennadi Liakhovetski #size-cells = <1>; 598500adc7SGuennadi Liakhovetski device_type = "soc"; 608500adc7SGuennadi Liakhovetski compatible = "mpc10x"; 618500adc7SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 62998c6103SKumar Gala reg = <0x80000000 0x100000>; 63998c6103SKumar Gala ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ 64998c6103SKumar Gala 0xfc000000 0xfc000000 0x100000 /* EUMB */ 65998c6103SKumar Gala 0xfe000000 0xfe000000 0xc00000 /* pci i/o space */ 66998c6103SKumar Gala 0xfec00000 0xfec00000 0x300000 /* pci cfg regs */ 67998c6103SKumar Gala 0xfef00000 0xfef00000 0x100000>; /* pci iack */ 688500adc7SGuennadi Liakhovetski 698500adc7SGuennadi Liakhovetski i2c@80003000 { 70f2d32db3SGuennadi Liakhovetski #address-cells = <1>; 71f2d32db3SGuennadi Liakhovetski #size-cells = <0>; 72ec9686c4SKumar Gala cell-index = <0>; 738500adc7SGuennadi Liakhovetski compatible = "fsl-i2c"; 74998c6103SKumar Gala reg = <0x80003000 0x1000>; 758500adc7SGuennadi Liakhovetski interrupts = <5 2>; 765c1992f8SKumar Gala interrupt-parent = <&mpic>; 77f2d32db3SGuennadi Liakhovetski 78f2d32db3SGuennadi Liakhovetski rtc@32 { 797f2862c3SGuennadi Liakhovetski compatible = "ricoh,rs5c372a"; 80998c6103SKumar Gala reg = <0x32>; 81f2d32db3SGuennadi Liakhovetski }; 828500adc7SGuennadi Liakhovetski }; 838500adc7SGuennadi Liakhovetski 84ea082fa9SKumar Gala serial0: serial@80004500 { 85ea082fa9SKumar Gala cell-index = <0>; 868500adc7SGuennadi Liakhovetski device_type = "serial"; 87*f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 88998c6103SKumar Gala reg = <0x80004500 0x8>; 89998c6103SKumar Gala clock-frequency = <97553800>; 90998c6103SKumar Gala current-speed = <9600>; 917f2862c3SGuennadi Liakhovetski interrupts = <9 0>; 925c1992f8SKumar Gala interrupt-parent = <&mpic>; 938500adc7SGuennadi Liakhovetski }; 948500adc7SGuennadi Liakhovetski 95ea082fa9SKumar Gala serial1: serial@80004600 { 96ea082fa9SKumar Gala cell-index = <1>; 978500adc7SGuennadi Liakhovetski device_type = "serial"; 98*f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 99998c6103SKumar Gala reg = <0x80004600 0x8>; 100998c6103SKumar Gala clock-frequency = <97553800>; 101998c6103SKumar Gala current-speed = <57600>; 102998c6103SKumar Gala interrupts = <10 0>; 1035c1992f8SKumar Gala interrupt-parent = <&mpic>; 1048500adc7SGuennadi Liakhovetski }; 1058500adc7SGuennadi Liakhovetski 106f2d32db3SGuennadi Liakhovetski mpic: interrupt-controller@80040000 { 1078500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 1088500adc7SGuennadi Liakhovetski #address-cells = <0>; 1098500adc7SGuennadi Liakhovetski device_type = "open-pic"; 1108500adc7SGuennadi Liakhovetski compatible = "chrp,open-pic"; 1118500adc7SGuennadi Liakhovetski interrupt-controller; 112998c6103SKumar Gala reg = <0x80040000 0x40000>; 1138500adc7SGuennadi Liakhovetski }; 1148500adc7SGuennadi Liakhovetski 115ea082fa9SKumar Gala pci0: pci@fec00000 { 1168500adc7SGuennadi Liakhovetski #address-cells = <3>; 1178500adc7SGuennadi Liakhovetski #size-cells = <2>; 1188500adc7SGuennadi Liakhovetski #interrupt-cells = <1>; 1198500adc7SGuennadi Liakhovetski device_type = "pci"; 1208500adc7SGuennadi Liakhovetski compatible = "mpc10x-pci"; 121998c6103SKumar Gala reg = <0xfec00000 0x400000>; 122998c6103SKumar Gala ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000 123998c6103SKumar Gala 0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>; 124998c6103SKumar Gala bus-range = <0 255>; 125998c6103SKumar Gala clock-frequency = <133333333>; 1265c1992f8SKumar Gala interrupt-parent = <&mpic>; 127998c6103SKumar Gala interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 1288500adc7SGuennadi Liakhovetski interrupt-map = < 129e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 130998c6103SKumar Gala 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 131998c6103SKumar Gala 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 132998c6103SKumar Gala 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 133998c6103SKumar Gala 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 134e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 135998c6103SKumar Gala 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 136998c6103SKumar Gala 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 137998c6103SKumar Gala 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1 138998c6103SKumar Gala 0x6000 0x0 0x0 0x4 &mpic 0x0 0x1 139e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 140998c6103SKumar Gala 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1 141998c6103SKumar Gala 0x7000 0x0 0x0 0x2 &mpic 0x3 0x1 142998c6103SKumar Gala 0x7000 0x0 0x0 0x3 &mpic 0x3 0x1 143998c6103SKumar Gala 0x7000 0x0 0x0 0x4 &mpic 0x3 0x1 1448500adc7SGuennadi Liakhovetski >; 1458500adc7SGuennadi Liakhovetski }; 1468500adc7SGuennadi Liakhovetski }; 1478500adc7SGuennadi Liakhovetski}; 148