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 Liakhovetskibuild with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts" 1904d76b93SGuennadi Liakhovetski 2004d76b93SGuennadi Liakhovetski 2104d76b93SGuennadi Liakhovetski */ 2204d76b93SGuennadi Liakhovetski 2304d76b93SGuennadi Liakhovetski/ { 2404d76b93SGuennadi Liakhovetski linux,phandle = <1000>; 2504d76b93SGuennadi Liakhovetski model = "KuroboxHG"; 2604d76b93SGuennadi Liakhovetski compatible = "linkstation"; 2704d76b93SGuennadi Liakhovetski #address-cells = <1>; 2804d76b93SGuennadi Liakhovetski #size-cells = <1>; 2904d76b93SGuennadi Liakhovetski 3004d76b93SGuennadi Liakhovetski cpus { 3104d76b93SGuennadi Liakhovetski linux,phandle = <2000>; 3204d76b93SGuennadi Liakhovetski #address-cells = <1>; 3304d76b93SGuennadi Liakhovetski #size-cells = <0>; 3404d76b93SGuennadi Liakhovetski 3504d76b93SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 3604d76b93SGuennadi Liakhovetski linux,phandle = <2100>; 3704d76b93SGuennadi Liakhovetski device_type = "cpu"; 3804d76b93SGuennadi Liakhovetski reg = <0>; 3904d76b93SGuennadi Liakhovetski clock-frequency = <fdad680>; /* Fixed by bootwrapper */ 4004d76b93SGuennadi Liakhovetski timebase-frequency = <1F04000>; /* Fixed by bootwrapper */ 4104d76b93SGuennadi Liakhovetski bus-frequency = <0>; /* From bootloader */ 4204d76b93SGuennadi Liakhovetski /* Following required by dtc but not used */ 4304d76b93SGuennadi Liakhovetski i-cache-line-size = <0>; 4404d76b93SGuennadi Liakhovetski d-cache-line-size = <0>; 4504d76b93SGuennadi Liakhovetski i-cache-size = <4000>; 4604d76b93SGuennadi Liakhovetski d-cache-size = <4000>; 4704d76b93SGuennadi Liakhovetski }; 4804d76b93SGuennadi Liakhovetski }; 4904d76b93SGuennadi Liakhovetski 5004d76b93SGuennadi Liakhovetski memory { 5104d76b93SGuennadi Liakhovetski linux,phandle = <3000>; 5204d76b93SGuennadi Liakhovetski device_type = "memory"; 5304d76b93SGuennadi Liakhovetski reg = <00000000 08000000>; 5404d76b93SGuennadi Liakhovetski }; 5504d76b93SGuennadi Liakhovetski 5604d76b93SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 5704d76b93SGuennadi Liakhovetski linux,phandle = <4000>; 5804d76b93SGuennadi Liakhovetski #address-cells = <1>; 5904d76b93SGuennadi Liakhovetski #size-cells = <1>; 6004d76b93SGuennadi Liakhovetski #interrupt-cells = <2>; 6104d76b93SGuennadi Liakhovetski device_type = "soc"; 6204d76b93SGuennadi Liakhovetski compatible = "mpc10x"; 6304d76b93SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 6404d76b93SGuennadi Liakhovetski reg = <80000000 00100000>; 6504d76b93SGuennadi Liakhovetski ranges = <80000000 80000000 70000000 /* pci mem space */ 6604d76b93SGuennadi Liakhovetski fc000000 fc000000 00100000 /* EUMB */ 6704d76b93SGuennadi Liakhovetski fe000000 fe000000 00c00000 /* pci i/o space */ 6804d76b93SGuennadi Liakhovetski fec00000 fec00000 00300000 /* pci cfg regs */ 6904d76b93SGuennadi Liakhovetski fef00000 fef00000 00100000>; /* pci iack */ 7004d76b93SGuennadi Liakhovetski 7104d76b93SGuennadi Liakhovetski i2c@80003000 { 7204d76b93SGuennadi Liakhovetski linux,phandle = <4300>; 7304d76b93SGuennadi Liakhovetski device_type = "i2c"; 7404d76b93SGuennadi Liakhovetski compatible = "fsl-i2c"; 7504d76b93SGuennadi Liakhovetski reg = <80003000 1000>; 7604d76b93SGuennadi Liakhovetski interrupts = <5 2>; 7704d76b93SGuennadi Liakhovetski interrupt-parent = <4400>; 7804d76b93SGuennadi Liakhovetski }; 7904d76b93SGuennadi Liakhovetski 8004d76b93SGuennadi Liakhovetski serial@80004500 { 8104d76b93SGuennadi Liakhovetski linux,phandle = <4511>; 8204d76b93SGuennadi Liakhovetski device_type = "serial"; 8304d76b93SGuennadi Liakhovetski compatible = "ns16550"; 8404d76b93SGuennadi Liakhovetski reg = <80004500 8>; 8504d76b93SGuennadi Liakhovetski clock-frequency = <7c044a8>; 8604d76b93SGuennadi Liakhovetski current-speed = <2580>; 8704d76b93SGuennadi Liakhovetski interrupts = <9 2>; 8804d76b93SGuennadi Liakhovetski interrupt-parent = <4400>; 8904d76b93SGuennadi Liakhovetski }; 9004d76b93SGuennadi Liakhovetski 9104d76b93SGuennadi Liakhovetski serial@80004600 { 9204d76b93SGuennadi Liakhovetski linux,phandle = <4512>; 9304d76b93SGuennadi Liakhovetski device_type = "serial"; 9404d76b93SGuennadi Liakhovetski compatible = "ns16550"; 9504d76b93SGuennadi Liakhovetski reg = <80004600 8>; 9604d76b93SGuennadi Liakhovetski clock-frequency = <7c044a8>; 9704d76b93SGuennadi Liakhovetski current-speed = <e100>; 9804d76b93SGuennadi Liakhovetski interrupts = <a 0>; 9904d76b93SGuennadi Liakhovetski interrupt-parent = <4400>; 10004d76b93SGuennadi Liakhovetski }; 10104d76b93SGuennadi Liakhovetski 10204d76b93SGuennadi Liakhovetski pic@80040000 { 10304d76b93SGuennadi Liakhovetski linux,phandle = <4400>; 10404d76b93SGuennadi Liakhovetski #interrupt-cells = <2>; 10504d76b93SGuennadi Liakhovetski #address-cells = <0>; 10604d76b93SGuennadi Liakhovetski device_type = "open-pic"; 10704d76b93SGuennadi Liakhovetski compatible = "chrp,open-pic"; 10804d76b93SGuennadi Liakhovetski interrupt-controller; 10904d76b93SGuennadi Liakhovetski reg = <80040000 40000>; 11004d76b93SGuennadi Liakhovetski built-in; 11104d76b93SGuennadi Liakhovetski }; 11204d76b93SGuennadi Liakhovetski 11304d76b93SGuennadi Liakhovetski pci@fec00000 { 11404d76b93SGuennadi Liakhovetski linux,phandle = <4500>; 11504d76b93SGuennadi Liakhovetski #address-cells = <3>; 11604d76b93SGuennadi Liakhovetski #size-cells = <2>; 11704d76b93SGuennadi Liakhovetski #interrupt-cells = <1>; 11804d76b93SGuennadi Liakhovetski device_type = "pci"; 11904d76b93SGuennadi Liakhovetski compatible = "mpc10x-pci"; 12004d76b93SGuennadi Liakhovetski reg = <fec00000 400000>; 12104d76b93SGuennadi Liakhovetski ranges = <01000000 0 0 fe000000 0 00c00000 12204d76b93SGuennadi Liakhovetski 02000000 0 80000000 80000000 0 70000000>; 12304d76b93SGuennadi Liakhovetski bus-range = <0 ff>; 12404d76b93SGuennadi Liakhovetski clock-frequency = <7f28155>; 12504d76b93SGuennadi Liakhovetski interrupt-parent = <4400>; 12604d76b93SGuennadi Liakhovetski interrupt-map-mask = <f800 0 0 7>; 12704d76b93SGuennadi Liakhovetski interrupt-map = < 128*e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 12904d76b93SGuennadi Liakhovetski 5800 0 0 1 4400 0 1 13004d76b93SGuennadi Liakhovetski 5800 0 0 2 4400 1 1 13104d76b93SGuennadi Liakhovetski 5800 0 0 3 4400 2 1 13204d76b93SGuennadi Liakhovetski 5800 0 0 4 4400 3 1 133*e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 13404d76b93SGuennadi Liakhovetski 6000 0 0 1 4400 1 1 13504d76b93SGuennadi Liakhovetski 6000 0 0 2 4400 2 1 13604d76b93SGuennadi Liakhovetski 6000 0 0 3 4400 3 1 13704d76b93SGuennadi Liakhovetski 6000 0 0 4 4400 0 1 138*e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 13904d76b93SGuennadi Liakhovetski 7000 0 0 1 4400 3 1 14004d76b93SGuennadi Liakhovetski 7000 0 0 2 4400 3 1 14104d76b93SGuennadi Liakhovetski 7000 0 0 3 4400 3 1 14204d76b93SGuennadi Liakhovetski 7000 0 0 4 4400 3 1 14304d76b93SGuennadi Liakhovetski >; 14404d76b93SGuennadi Liakhovetski }; 14504d76b93SGuennadi Liakhovetski }; 14604d76b93SGuennadi Liakhovetski}; 147