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>; 36f2d32db3SGuennadi Liakhovetski clock-frequency = <bebc200>; /* Fixed by bootloader */ 37f2d32db3SGuennadi Liakhovetski timebase-frequency = <1743000>; /* Fixed by bootloader */ 38f2d32db3SGuennadi Liakhovetski bus-frequency = <0>; /* Fixed by bootloader */ 398500adc7SGuennadi Liakhovetski /* Following required by dtc but not used */ 408500adc7SGuennadi Liakhovetski i-cache-size = <4000>; 418500adc7SGuennadi Liakhovetski d-cache-size = <4000>; 428500adc7SGuennadi Liakhovetski }; 438500adc7SGuennadi Liakhovetski }; 448500adc7SGuennadi Liakhovetski 458500adc7SGuennadi Liakhovetski memory { 468500adc7SGuennadi Liakhovetski device_type = "memory"; 478500adc7SGuennadi Liakhovetski reg = <00000000 04000000>; 488500adc7SGuennadi Liakhovetski }; 498500adc7SGuennadi Liakhovetski 508500adc7SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 518500adc7SGuennadi Liakhovetski #address-cells = <1>; 528500adc7SGuennadi Liakhovetski #size-cells = <1>; 538500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 548500adc7SGuennadi Liakhovetski device_type = "soc"; 558500adc7SGuennadi Liakhovetski compatible = "mpc10x"; 568500adc7SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 578500adc7SGuennadi Liakhovetski reg = <80000000 00100000>; 588500adc7SGuennadi Liakhovetski ranges = <80000000 80000000 70000000 /* pci mem space */ 598500adc7SGuennadi Liakhovetski fc000000 fc000000 00100000 /* EUMB */ 608500adc7SGuennadi Liakhovetski fe000000 fe000000 00c00000 /* pci i/o space */ 618500adc7SGuennadi Liakhovetski fec00000 fec00000 00300000 /* pci cfg regs */ 628500adc7SGuennadi Liakhovetski fef00000 fef00000 00100000>; /* pci iack */ 638500adc7SGuennadi Liakhovetski 648500adc7SGuennadi Liakhovetski i2c@80003000 { 65f2d32db3SGuennadi Liakhovetski #address-cells = <1>; 66f2d32db3SGuennadi Liakhovetski #size-cells = <0>; 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>; 72f2d32db3SGuennadi Liakhovetski 73f2d32db3SGuennadi Liakhovetski rtc@32 { 74f2d32db3SGuennadi Liakhovetski device_type = "rtc"; 75f2d32db3SGuennadi Liakhovetski compatible = "ricoh,rs5c372b"; 76f2d32db3SGuennadi Liakhovetski reg = <32>; 77f2d32db3SGuennadi Liakhovetski }; 788500adc7SGuennadi Liakhovetski }; 798500adc7SGuennadi Liakhovetski 808500adc7SGuennadi Liakhovetski serial@80004500 { 818500adc7SGuennadi Liakhovetski device_type = "serial"; 828500adc7SGuennadi Liakhovetski compatible = "ns16550"; 838500adc7SGuennadi Liakhovetski reg = <80004500 8>; 848500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 858500adc7SGuennadi Liakhovetski current-speed = <2580>; 868500adc7SGuennadi Liakhovetski interrupts = <9 2>; 875c1992f8SKumar Gala interrupt-parent = <&mpic>; 888500adc7SGuennadi Liakhovetski }; 898500adc7SGuennadi Liakhovetski 908500adc7SGuennadi Liakhovetski serial@80004600 { 918500adc7SGuennadi Liakhovetski device_type = "serial"; 928500adc7SGuennadi Liakhovetski compatible = "ns16550"; 938500adc7SGuennadi Liakhovetski reg = <80004600 8>; 948500adc7SGuennadi Liakhovetski clock-frequency = <5d08d88>; 958500adc7SGuennadi Liakhovetski current-speed = <e100>; 968500adc7SGuennadi Liakhovetski interrupts = <a 0>; 975c1992f8SKumar Gala interrupt-parent = <&mpic>; 988500adc7SGuennadi Liakhovetski }; 998500adc7SGuennadi Liakhovetski 100f2d32db3SGuennadi Liakhovetski mpic: interrupt-controller@80040000 { 1018500adc7SGuennadi Liakhovetski #interrupt-cells = <2>; 1028500adc7SGuennadi Liakhovetski #address-cells = <0>; 1038500adc7SGuennadi Liakhovetski device_type = "open-pic"; 1048500adc7SGuennadi Liakhovetski compatible = "chrp,open-pic"; 1058500adc7SGuennadi Liakhovetski interrupt-controller; 1068500adc7SGuennadi Liakhovetski reg = <80040000 40000>; 1078500adc7SGuennadi Liakhovetski built-in; 1088500adc7SGuennadi Liakhovetski }; 1098500adc7SGuennadi Liakhovetski 1108500adc7SGuennadi Liakhovetski pci@fec00000 { 1118500adc7SGuennadi Liakhovetski #address-cells = <3>; 1128500adc7SGuennadi Liakhovetski #size-cells = <2>; 1138500adc7SGuennadi Liakhovetski #interrupt-cells = <1>; 1148500adc7SGuennadi Liakhovetski device_type = "pci"; 1158500adc7SGuennadi Liakhovetski compatible = "mpc10x-pci"; 1168500adc7SGuennadi Liakhovetski reg = <fec00000 400000>; 1178500adc7SGuennadi Liakhovetski ranges = <01000000 0 0 fe000000 0 00c00000 1188500adc7SGuennadi Liakhovetski 02000000 0 80000000 80000000 0 70000000>; 1198500adc7SGuennadi Liakhovetski bus-range = <0 ff>; 1208500adc7SGuennadi Liakhovetski clock-frequency = <7f28155>; 1215c1992f8SKumar Gala interrupt-parent = <&mpic>; 1228500adc7SGuennadi Liakhovetski interrupt-map-mask = <f800 0 0 7>; 1238500adc7SGuennadi Liakhovetski interrupt-map = < 124e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 1255c1992f8SKumar Gala 5800 0 0 1 &mpic 0 1 1265c1992f8SKumar Gala 5800 0 0 2 &mpic 1 1 1275c1992f8SKumar Gala 5800 0 0 3 &mpic 2 1 1285c1992f8SKumar Gala 5800 0 0 4 &mpic 3 1 129e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 1305c1992f8SKumar Gala 6000 0 0 1 &mpic 1 1 1315c1992f8SKumar Gala 6000 0 0 2 &mpic 2 1 1325c1992f8SKumar Gala 6000 0 0 3 &mpic 3 1 1335c1992f8SKumar Gala 6000 0 0 4 &mpic 0 1 134e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 1355c1992f8SKumar Gala 7000 0 0 1 &mpic 3 1 1365c1992f8SKumar Gala 7000 0 0 2 &mpic 3 1 1375c1992f8SKumar Gala 7000 0 0 3 &mpic 3 1 1385c1992f8SKumar Gala 7000 0 0 4 &mpic 3 1 1398500adc7SGuennadi Liakhovetski >; 1408500adc7SGuennadi Liakhovetski }; 1418500adc7SGuennadi Liakhovetski }; 1428500adc7SGuennadi Liakhovetski}; 143