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> 108500adc7SGuennadi Liakhovetski * 118500adc7SGuennadi Liakhovetski * This file is licensed under 128500adc7SGuennadi Liakhovetski * the terms of the GNU General Public License version 2. This program 138500adc7SGuennadi Liakhovetski * is licensed "as is" without any warranty of any kind, whether express 148500adc7SGuennadi Liakhovetski * or implied. 158500adc7SGuennadi Liakhovetski 168500adc7SGuennadi LiakhovetskiXXXX add flash parts, rtc, ?? 178500adc7SGuennadi Liakhovetski 188500adc7SGuennadi Liakhovetski */ 198500adc7SGuennadi Liakhovetski 208500adc7SGuennadi Liakhovetski/ { 218500adc7SGuennadi Liakhovetski model = "KuroboxHD"; 228500adc7SGuennadi Liakhovetski compatible = "linkstation"; 238500adc7SGuennadi Liakhovetski #address-cells = <1>; 248500adc7SGuennadi Liakhovetski #size-cells = <1>; 258500adc7SGuennadi Liakhovetski 268500adc7SGuennadi Liakhovetski cpus { 278500adc7SGuennadi Liakhovetski #address-cells = <1>; 288500adc7SGuennadi Liakhovetski #size-cells = <0>; 298500adc7SGuennadi Liakhovetski 308500adc7SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 318500adc7SGuennadi Liakhovetski device_type = "cpu"; 328500adc7SGuennadi Liakhovetski reg = <0>; 33f2d32db3SGuennadi Liakhovetski clock-frequency = <bebc200>; /* Fixed by bootloader */ 34f2d32db3SGuennadi Liakhovetski timebase-frequency = <1743000>; /* Fixed by bootloader */ 35f2d32db3SGuennadi Liakhovetski bus-frequency = <0>; /* Fixed by bootloader */ 368500adc7SGuennadi Liakhovetski /* Following required by dtc but not used */ 378500adc7SGuennadi Liakhovetski i-cache-size = <4000>; 388500adc7SGuennadi Liakhovetski d-cache-size = <4000>; 398500adc7SGuennadi Liakhovetski }; 408500adc7SGuennadi Liakhovetski }; 418500adc7SGuennadi Liakhovetski 428500adc7SGuennadi Liakhovetski memory { 438500adc7SGuennadi Liakhovetski device_type = "memory"; 448500adc7SGuennadi Liakhovetski reg = <00000000 04000000>; 458500adc7SGuennadi Liakhovetski }; 468500adc7SGuennadi Liakhovetski 478500adc7SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 488500adc7SGuennadi Liakhovetski #address-cells = <1>; 498500adc7SGuennadi Liakhovetski #size-cells = <1>; 508500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 518500adc7SGuennadi Liakhovetski device_type = "soc"; 528500adc7SGuennadi Liakhovetski compatible = "mpc10x"; 538500adc7SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 548500adc7SGuennadi Liakhovetski reg = <80000000 00100000>; 558500adc7SGuennadi Liakhovetski ranges = <80000000 80000000 70000000 /* pci mem space */ 568500adc7SGuennadi Liakhovetski fc000000 fc000000 00100000 /* EUMB */ 578500adc7SGuennadi Liakhovetski fe000000 fe000000 00c00000 /* pci i/o space */ 588500adc7SGuennadi Liakhovetski fec00000 fec00000 00300000 /* pci cfg regs */ 598500adc7SGuennadi Liakhovetski fef00000 fef00000 00100000>; /* pci iack */ 608500adc7SGuennadi Liakhovetski 618500adc7SGuennadi Liakhovetski i2c@80003000 { 62f2d32db3SGuennadi Liakhovetski #address-cells = <1>; 63f2d32db3SGuennadi Liakhovetski #size-cells = <0>; 648500adc7SGuennadi Liakhovetski device_type = "i2c"; 658500adc7SGuennadi Liakhovetski compatible = "fsl-i2c"; 668500adc7SGuennadi Liakhovetski reg = <80003000 1000>; 678500adc7SGuennadi Liakhovetski interrupts = <5 2>; 685c1992f8SKumar Gala interrupt-parent = <&mpic>; 69f2d32db3SGuennadi Liakhovetski 70f2d32db3SGuennadi Liakhovetski rtc@32 { 71f2d32db3SGuennadi Liakhovetski device_type = "rtc"; 727f2862c3SGuennadi Liakhovetski compatible = "ricoh,rs5c372a"; 73f2d32db3SGuennadi Liakhovetski reg = <32>; 74f2d32db3SGuennadi Liakhovetski }; 758500adc7SGuennadi Liakhovetski }; 768500adc7SGuennadi Liakhovetski 778500adc7SGuennadi Liakhovetski serial@80004500 { 788500adc7SGuennadi Liakhovetski device_type = "serial"; 798500adc7SGuennadi Liakhovetski compatible = "ns16550"; 808500adc7SGuennadi Liakhovetski reg = <80004500 8>; 818500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 828500adc7SGuennadi Liakhovetski current-speed = <2580>; 837f2862c3SGuennadi Liakhovetski interrupts = <9 0>; 845c1992f8SKumar Gala interrupt-parent = <&mpic>; 858500adc7SGuennadi Liakhovetski }; 868500adc7SGuennadi Liakhovetski 878500adc7SGuennadi Liakhovetski serial@80004600 { 888500adc7SGuennadi Liakhovetski device_type = "serial"; 898500adc7SGuennadi Liakhovetski compatible = "ns16550"; 908500adc7SGuennadi Liakhovetski reg = <80004600 8>; 918500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 928500adc7SGuennadi Liakhovetski current-speed = <e100>; 938500adc7SGuennadi Liakhovetski interrupts = <a 0>; 945c1992f8SKumar Gala interrupt-parent = <&mpic>; 958500adc7SGuennadi Liakhovetski }; 968500adc7SGuennadi Liakhovetski 97f2d32db3SGuennadi Liakhovetski mpic: interrupt-controller@80040000 { 988500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 998500adc7SGuennadi Liakhovetski #address-cells = <0>; 1008500adc7SGuennadi Liakhovetski device_type = "open-pic"; 1018500adc7SGuennadi Liakhovetski compatible = "chrp,open-pic"; 1028500adc7SGuennadi Liakhovetski interrupt-controller; 1038500adc7SGuennadi Liakhovetski reg = <80040000 40000>; 1048500adc7SGuennadi Liakhovetski built-in; 1058500adc7SGuennadi Liakhovetski }; 1068500adc7SGuennadi Liakhovetski 1078500adc7SGuennadi Liakhovetski pci@fec00000 { 1088500adc7SGuennadi Liakhovetski #address-cells = <3>; 1098500adc7SGuennadi Liakhovetski #size-cells = <2>; 1108500adc7SGuennadi Liakhovetski #interrupt-cells = <1>; 1118500adc7SGuennadi Liakhovetski device_type = "pci"; 1128500adc7SGuennadi Liakhovetski compatible = "mpc10x-pci"; 1138500adc7SGuennadi Liakhovetski reg = <fec00000 400000>; 1148500adc7SGuennadi Liakhovetski ranges = <01000000 0 0 fe000000 0 00c00000 1158500adc7SGuennadi Liakhovetski 02000000 0 80000000 80000000 0 70000000>; 1168500adc7SGuennadi Liakhovetski bus-range = <0 ff>; 1178500adc7SGuennadi Liakhovetski clock-frequency = <7f28155>; 1185c1992f8SKumar Gala interrupt-parent = <&mpic>; 1198500adc7SGuennadi Liakhovetski interrupt-map-mask = <f800 0 0 7>; 1208500adc7SGuennadi Liakhovetski interrupt-map = < 121e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 1225c1992f8SKumar Gala 5800 0 0 1 &mpic 0 1 1235c1992f8SKumar Gala 5800 0 0 2 &mpic 1 1 1245c1992f8SKumar Gala 5800 0 0 3 &mpic 2 1 1255c1992f8SKumar Gala 5800 0 0 4 &mpic 3 1 126e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 1275c1992f8SKumar Gala 6000 0 0 1 &mpic 1 1 1285c1992f8SKumar Gala 6000 0 0 2 &mpic 2 1 1295c1992f8SKumar Gala 6000 0 0 3 &mpic 3 1 1305c1992f8SKumar Gala 6000 0 0 4 &mpic 0 1 131e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 1325c1992f8SKumar Gala 7000 0 0 1 &mpic 3 1 1335c1992f8SKumar Gala 7000 0 0 2 &mpic 3 1 1345c1992f8SKumar Gala 7000 0 0 3 &mpic 3 1 1355c1992f8SKumar Gala 7000 0 0 4 &mpic 3 1 1368500adc7SGuennadi Liakhovetski >; 1378500adc7SGuennadi Liakhovetski }; 1388500adc7SGuennadi Liakhovetski }; 1398500adc7SGuennadi Liakhovetski}; 140