104d76b93SGuennadi Liakhovetski/* 204d76b93SGuennadi Liakhovetski * Device Tree Souce for Buffalo KuroboxHG 304d76b93SGuennadi Liakhovetski * 404d76b93SGuennadi Liakhovetski * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHG, or use 504d76b93SGuennadi Liakhovetski * the default configuration linkstation_defconfig. 604d76b93SGuennadi Liakhovetski * 704d76b93SGuennadi Liakhovetski * Based on sandpoint.dts 804d76b93SGuennadi Liakhovetski * 904d76b93SGuennadi Liakhovetski * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de> 1004d76b93SGuennadi Liakhovetski * 1104d76b93SGuennadi Liakhovetski * This file is licensed under 1204d76b93SGuennadi Liakhovetski * the terms of the GNU General Public License version 2. This program 1304d76b93SGuennadi Liakhovetski * is licensed "as is" without any warranty of any kind, whether express 1404d76b93SGuennadi Liakhovetski * or implied. 1504d76b93SGuennadi Liakhovetski 1604d76b93SGuennadi LiakhovetskiXXXX add flash parts, rtc, ?? 1704d76b93SGuennadi Liakhovetski 1804d76b93SGuennadi Liakhovetski */ 1904d76b93SGuennadi Liakhovetski 2004d76b93SGuennadi Liakhovetski/ { 2104d76b93SGuennadi Liakhovetski model = "KuroboxHG"; 2204d76b93SGuennadi Liakhovetski compatible = "linkstation"; 2304d76b93SGuennadi Liakhovetski #address-cells = <1>; 2404d76b93SGuennadi Liakhovetski #size-cells = <1>; 2504d76b93SGuennadi Liakhovetski 2604d76b93SGuennadi Liakhovetski cpus { 2704d76b93SGuennadi Liakhovetski #address-cells = <1>; 2804d76b93SGuennadi Liakhovetski #size-cells = <0>; 2904d76b93SGuennadi Liakhovetski 3004d76b93SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 3104d76b93SGuennadi Liakhovetski device_type = "cpu"; 3204d76b93SGuennadi Liakhovetski reg = <0>; 33f2d32db3SGuennadi Liakhovetski clock-frequency = <fdad680>; /* Fixed by bootloader */ 34f2d32db3SGuennadi Liakhovetski timebase-frequency = <1F04000>; /* Fixed by bootloader */ 35f2d32db3SGuennadi Liakhovetski bus-frequency = <0>; /* Fixed by bootloader */ 3604d76b93SGuennadi Liakhovetski /* Following required by dtc but not used */ 3704d76b93SGuennadi Liakhovetski i-cache-size = <4000>; 3804d76b93SGuennadi Liakhovetski d-cache-size = <4000>; 3904d76b93SGuennadi Liakhovetski }; 4004d76b93SGuennadi Liakhovetski }; 4104d76b93SGuennadi Liakhovetski 4204d76b93SGuennadi Liakhovetski memory { 4304d76b93SGuennadi Liakhovetski device_type = "memory"; 4404d76b93SGuennadi Liakhovetski reg = <00000000 08000000>; 4504d76b93SGuennadi Liakhovetski }; 4604d76b93SGuennadi Liakhovetski 4704d76b93SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 4804d76b93SGuennadi Liakhovetski #address-cells = <1>; 4904d76b93SGuennadi Liakhovetski #size-cells = <1>; 5004d76b93SGuennadi Liakhovetski device_type = "soc"; 5104d76b93SGuennadi Liakhovetski compatible = "mpc10x"; 5204d76b93SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 5304d76b93SGuennadi Liakhovetski reg = <80000000 00100000>; 5404d76b93SGuennadi Liakhovetski ranges = <80000000 80000000 70000000 /* pci mem space */ 5504d76b93SGuennadi Liakhovetski fc000000 fc000000 00100000 /* EUMB */ 5604d76b93SGuennadi Liakhovetski fe000000 fe000000 00c00000 /* pci i/o space */ 5704d76b93SGuennadi Liakhovetski fec00000 fec00000 00300000 /* pci cfg regs */ 5804d76b93SGuennadi Liakhovetski fef00000 fef00000 00100000>; /* pci iack */ 5904d76b93SGuennadi Liakhovetski 6004d76b93SGuennadi Liakhovetski i2c@80003000 { 61f2d32db3SGuennadi Liakhovetski #address-cells = <1>; 62f2d32db3SGuennadi Liakhovetski #size-cells = <0>; 63*ec9686c4SKumar Gala cell-index = <0>; 6404d76b93SGuennadi Liakhovetski compatible = "fsl-i2c"; 6504d76b93SGuennadi Liakhovetski reg = <80003000 1000>; 6604d76b93SGuennadi Liakhovetski interrupts = <5 2>; 675c1992f8SKumar Gala interrupt-parent = <&mpic>; 68f2d32db3SGuennadi Liakhovetski 69f2d32db3SGuennadi Liakhovetski rtc@32 { 70f2d32db3SGuennadi Liakhovetski device_type = "rtc"; 717f2862c3SGuennadi Liakhovetski compatible = "ricoh,rs5c372a"; 72f2d32db3SGuennadi Liakhovetski reg = <32>; 73f2d32db3SGuennadi Liakhovetski }; 7404d76b93SGuennadi Liakhovetski }; 7504d76b93SGuennadi Liakhovetski 7604d76b93SGuennadi Liakhovetski serial@80004500 { 7704d76b93SGuennadi Liakhovetski device_type = "serial"; 7804d76b93SGuennadi Liakhovetski compatible = "ns16550"; 7904d76b93SGuennadi Liakhovetski reg = <80004500 8>; 8004d76b93SGuennadi Liakhovetski clock-frequency = <7c044a8>; 8104d76b93SGuennadi Liakhovetski current-speed = <2580>; 827f2862c3SGuennadi Liakhovetski interrupts = <9 0>; 835c1992f8SKumar Gala interrupt-parent = <&mpic>; 8404d76b93SGuennadi Liakhovetski }; 8504d76b93SGuennadi Liakhovetski 8604d76b93SGuennadi Liakhovetski serial@80004600 { 8704d76b93SGuennadi Liakhovetski device_type = "serial"; 8804d76b93SGuennadi Liakhovetski compatible = "ns16550"; 8904d76b93SGuennadi Liakhovetski reg = <80004600 8>; 9004d76b93SGuennadi Liakhovetski clock-frequency = <7c044a8>; 9104d76b93SGuennadi Liakhovetski current-speed = <e100>; 9204d76b93SGuennadi Liakhovetski interrupts = <a 0>; 935c1992f8SKumar Gala interrupt-parent = <&mpic>; 9404d76b93SGuennadi Liakhovetski }; 9504d76b93SGuennadi Liakhovetski 96f2d32db3SGuennadi Liakhovetski mpic: interrupt-controller@80040000 { 9704d76b93SGuennadi Liakhovetski #interrupt-cells = <2>; 9804d76b93SGuennadi Liakhovetski #address-cells = <0>; 9904d76b93SGuennadi Liakhovetski device_type = "open-pic"; 10004d76b93SGuennadi Liakhovetski compatible = "chrp,open-pic"; 10104d76b93SGuennadi Liakhovetski interrupt-controller; 10204d76b93SGuennadi Liakhovetski reg = <80040000 40000>; 10304d76b93SGuennadi Liakhovetski }; 10404d76b93SGuennadi Liakhovetski 10504d76b93SGuennadi Liakhovetski pci@fec00000 { 10604d76b93SGuennadi Liakhovetski #address-cells = <3>; 10704d76b93SGuennadi Liakhovetski #size-cells = <2>; 10804d76b93SGuennadi Liakhovetski #interrupt-cells = <1>; 10904d76b93SGuennadi Liakhovetski device_type = "pci"; 11004d76b93SGuennadi Liakhovetski compatible = "mpc10x-pci"; 11104d76b93SGuennadi Liakhovetski reg = <fec00000 400000>; 11204d76b93SGuennadi Liakhovetski ranges = <01000000 0 0 fe000000 0 00c00000 11304d76b93SGuennadi Liakhovetski 02000000 0 80000000 80000000 0 70000000>; 11404d76b93SGuennadi Liakhovetski bus-range = <0 ff>; 11504d76b93SGuennadi Liakhovetski clock-frequency = <7f28155>; 1165c1992f8SKumar Gala interrupt-parent = <&mpic>; 11704d76b93SGuennadi Liakhovetski interrupt-map-mask = <f800 0 0 7>; 11804d76b93SGuennadi Liakhovetski interrupt-map = < 119e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 1205c1992f8SKumar Gala 5800 0 0 1 &mpic 0 1 1215c1992f8SKumar Gala 5800 0 0 2 &mpic 1 1 1225c1992f8SKumar Gala 5800 0 0 3 &mpic 2 1 1235c1992f8SKumar Gala 5800 0 0 4 &mpic 3 1 124e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 1255c1992f8SKumar Gala 6000 0 0 1 &mpic 1 1 1265c1992f8SKumar Gala 6000 0 0 2 &mpic 2 1 1275c1992f8SKumar Gala 6000 0 0 3 &mpic 3 1 1285c1992f8SKumar Gala 6000 0 0 4 &mpic 0 1 129e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 1305c1992f8SKumar Gala 7000 0 0 1 &mpic 3 1 1315c1992f8SKumar Gala 7000 0 0 2 &mpic 3 1 1325c1992f8SKumar Gala 7000 0 0 3 &mpic 3 1 1335c1992f8SKumar Gala 7000 0 0 4 &mpic 3 1 13404d76b93SGuennadi Liakhovetski >; 13504d76b93SGuennadi Liakhovetski }; 13604d76b93SGuennadi Liakhovetski }; 13704d76b93SGuennadi Liakhovetski}; 138