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 Liakhovetskibuild with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts" 198500adc7SGuennadi Liakhovetski 208500adc7SGuennadi Liakhovetski 218500adc7SGuennadi Liakhovetski */ 228500adc7SGuennadi Liakhovetski 238500adc7SGuennadi Liakhovetski/ { 248500adc7SGuennadi Liakhovetski model = "KuroboxHD"; 258500adc7SGuennadi Liakhovetski compatible = "linkstation"; 268500adc7SGuennadi Liakhovetski #address-cells = <1>; 278500adc7SGuennadi Liakhovetski #size-cells = <1>; 288500adc7SGuennadi Liakhovetski 298500adc7SGuennadi Liakhovetski cpus { 308500adc7SGuennadi Liakhovetski #address-cells = <1>; 318500adc7SGuennadi Liakhovetski #size-cells = <0>; 328500adc7SGuennadi Liakhovetski 338500adc7SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 348500adc7SGuennadi Liakhovetski device_type = "cpu"; 358500adc7SGuennadi Liakhovetski reg = <0>; 368500adc7SGuennadi Liakhovetski clock-frequency = <bebc200>; /* Fixed by bootwrapper */ 378500adc7SGuennadi Liakhovetski timebase-frequency = <1743000>; /* Fixed by bootwrapper */ 388500adc7SGuennadi Liakhovetski bus-frequency = <0>; /* From bootloader */ 398500adc7SGuennadi Liakhovetski /* Following required by dtc but not used */ 408500adc7SGuennadi Liakhovetski i-cache-line-size = <0>; 418500adc7SGuennadi Liakhovetski d-cache-line-size = <0>; 428500adc7SGuennadi Liakhovetski i-cache-size = <4000>; 438500adc7SGuennadi Liakhovetski d-cache-size = <4000>; 448500adc7SGuennadi Liakhovetski }; 458500adc7SGuennadi Liakhovetski }; 468500adc7SGuennadi Liakhovetski 478500adc7SGuennadi Liakhovetski memory { 488500adc7SGuennadi Liakhovetski device_type = "memory"; 498500adc7SGuennadi Liakhovetski reg = <00000000 04000000>; 508500adc7SGuennadi Liakhovetski }; 518500adc7SGuennadi Liakhovetski 528500adc7SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 538500adc7SGuennadi Liakhovetski #address-cells = <1>; 548500adc7SGuennadi Liakhovetski #size-cells = <1>; 558500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 568500adc7SGuennadi Liakhovetski device_type = "soc"; 578500adc7SGuennadi Liakhovetski compatible = "mpc10x"; 588500adc7SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 598500adc7SGuennadi Liakhovetski reg = <80000000 00100000>; 608500adc7SGuennadi Liakhovetski ranges = <80000000 80000000 70000000 /* pci mem space */ 618500adc7SGuennadi Liakhovetski fc000000 fc000000 00100000 /* EUMB */ 628500adc7SGuennadi Liakhovetski fe000000 fe000000 00c00000 /* pci i/o space */ 638500adc7SGuennadi Liakhovetski fec00000 fec00000 00300000 /* pci cfg regs */ 648500adc7SGuennadi Liakhovetski fef00000 fef00000 00100000>; /* pci iack */ 658500adc7SGuennadi Liakhovetski 668500adc7SGuennadi Liakhovetski i2c@80003000 { 678500adc7SGuennadi Liakhovetski device_type = "i2c"; 688500adc7SGuennadi Liakhovetski compatible = "fsl-i2c"; 698500adc7SGuennadi Liakhovetski reg = <80003000 1000>; 708500adc7SGuennadi Liakhovetski interrupts = <5 2>; 715c1992f8SKumar Gala interrupt-parent = <&mpic>; 728500adc7SGuennadi Liakhovetski }; 738500adc7SGuennadi Liakhovetski 748500adc7SGuennadi Liakhovetski serial@80004500 { 758500adc7SGuennadi Liakhovetski device_type = "serial"; 768500adc7SGuennadi Liakhovetski compatible = "ns16550"; 778500adc7SGuennadi Liakhovetski reg = <80004500 8>; 788500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 798500adc7SGuennadi Liakhovetski current-speed = <2580>; 808500adc7SGuennadi Liakhovetski interrupts = <9 2>; 815c1992f8SKumar Gala interrupt-parent = <&mpic>; 828500adc7SGuennadi Liakhovetski }; 838500adc7SGuennadi Liakhovetski 848500adc7SGuennadi Liakhovetski serial@80004600 { 858500adc7SGuennadi Liakhovetski device_type = "serial"; 868500adc7SGuennadi Liakhovetski compatible = "ns16550"; 878500adc7SGuennadi Liakhovetski reg = <80004600 8>; 888500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 898500adc7SGuennadi Liakhovetski current-speed = <e100>; 908500adc7SGuennadi Liakhovetski interrupts = <a 0>; 915c1992f8SKumar Gala interrupt-parent = <&mpic>; 928500adc7SGuennadi Liakhovetski }; 938500adc7SGuennadi Liakhovetski 945c1992f8SKumar Gala mpic: pic@80040000 { 958500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 968500adc7SGuennadi Liakhovetski #address-cells = <0>; 978500adc7SGuennadi Liakhovetski device_type = "open-pic"; 988500adc7SGuennadi Liakhovetski compatible = "chrp,open-pic"; 998500adc7SGuennadi Liakhovetski interrupt-controller; 1008500adc7SGuennadi Liakhovetski reg = <80040000 40000>; 1018500adc7SGuennadi Liakhovetski built-in; 1028500adc7SGuennadi Liakhovetski }; 1038500adc7SGuennadi Liakhovetski 1048500adc7SGuennadi Liakhovetski pci@fec00000 { 1058500adc7SGuennadi Liakhovetski #address-cells = <3>; 1068500adc7SGuennadi Liakhovetski #size-cells = <2>; 1078500adc7SGuennadi Liakhovetski #interrupt-cells = <1>; 1088500adc7SGuennadi Liakhovetski device_type = "pci"; 1098500adc7SGuennadi Liakhovetski compatible = "mpc10x-pci"; 1108500adc7SGuennadi Liakhovetski reg = <fec00000 400000>; 1118500adc7SGuennadi Liakhovetski ranges = <01000000 0 0 fe000000 0 00c00000 1128500adc7SGuennadi Liakhovetski 02000000 0 80000000 80000000 0 70000000>; 1138500adc7SGuennadi Liakhovetski bus-range = <0 ff>; 1148500adc7SGuennadi Liakhovetski clock-frequency = <7f28155>; 1155c1992f8SKumar Gala interrupt-parent = <&mpic>; 1168500adc7SGuennadi Liakhovetski interrupt-map-mask = <f800 0 0 7>; 1178500adc7SGuennadi Liakhovetski interrupt-map = < 118e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 1195c1992f8SKumar Gala 5800 0 0 1 &mpic 0 1 1205c1992f8SKumar Gala 5800 0 0 2 &mpic 1 1 1215c1992f8SKumar Gala 5800 0 0 3 &mpic 2 1 1225c1992f8SKumar Gala 5800 0 0 4 &mpic 3 1 123e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 1245c1992f8SKumar Gala 6000 0 0 1 &mpic 1 1 1255c1992f8SKumar Gala 6000 0 0 2 &mpic 2 1 1265c1992f8SKumar Gala 6000 0 0 3 &mpic 3 1 1275c1992f8SKumar Gala 6000 0 0 4 &mpic 0 1 128e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 1295c1992f8SKumar Gala 7000 0 0 1 &mpic 3 1 1305c1992f8SKumar Gala 7000 0 0 2 &mpic 3 1 1315c1992f8SKumar Gala 7000 0 0 3 &mpic 3 1 1325c1992f8SKumar Gala 7000 0 0 4 &mpic 3 1 1338500adc7SGuennadi Liakhovetski >; 1348500adc7SGuennadi Liakhovetski }; 1358500adc7SGuennadi Liakhovetski }; 1368500adc7SGuennadi Liakhovetski}; 137