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> 10998c6103SKumar Gala * Copyright 2008 Freescale Semiconductor, Inc. 1104d76b93SGuennadi Liakhovetski * 1204d76b93SGuennadi Liakhovetski * This file is licensed under 1304d76b93SGuennadi Liakhovetski * the terms of the GNU General Public License version 2. This program 1404d76b93SGuennadi Liakhovetski * is licensed "as is" without any warranty of any kind, whether express 1504d76b93SGuennadi Liakhovetski * or implied. 1604d76b93SGuennadi Liakhovetski 1704d76b93SGuennadi LiakhovetskiXXXX add flash parts, rtc, ?? 1804d76b93SGuennadi Liakhovetski 1904d76b93SGuennadi Liakhovetski */ 2004d76b93SGuennadi Liakhovetski 21998c6103SKumar Gala/dts-v1/; 22998c6103SKumar Gala 2304d76b93SGuennadi Liakhovetski/ { 2404d76b93SGuennadi Liakhovetski model = "KuroboxHG"; 2504d76b93SGuennadi Liakhovetski compatible = "linkstation"; 2604d76b93SGuennadi Liakhovetski #address-cells = <1>; 2704d76b93SGuennadi Liakhovetski #size-cells = <1>; 2804d76b93SGuennadi Liakhovetski 29ea082fa9SKumar Gala aliases { 30ea082fa9SKumar Gala serial0 = &serial0; 31ea082fa9SKumar Gala serial1 = &serial1; 32ea082fa9SKumar Gala pci0 = &pci0; 33ea082fa9SKumar Gala }; 34ea082fa9SKumar Gala 3504d76b93SGuennadi Liakhovetski cpus { 3604d76b93SGuennadi Liakhovetski #address-cells = <1>; 3704d76b93SGuennadi Liakhovetski #size-cells = <0>; 3804d76b93SGuennadi Liakhovetski 3904d76b93SGuennadi Liakhovetski PowerPC,603e { /* Really 8241 */ 4004d76b93SGuennadi Liakhovetski device_type = "cpu"; 41998c6103SKumar Gala reg = <0x0>; 42998c6103SKumar Gala clock-frequency = <266000000>; /* Fixed by bootloader */ 43998c6103SKumar Gala timebase-frequency = <32522240>; /* Fixed by bootloader */ 44f2d32db3SGuennadi Liakhovetski bus-frequency = <0>; /* Fixed by bootloader */ 4504d76b93SGuennadi Liakhovetski /* Following required by dtc but not used */ 46998c6103SKumar Gala i-cache-size = <0x4000>; 47998c6103SKumar Gala d-cache-size = <0x4000>; 4804d76b93SGuennadi Liakhovetski }; 4904d76b93SGuennadi Liakhovetski }; 5004d76b93SGuennadi Liakhovetski 5104d76b93SGuennadi Liakhovetski memory { 5204d76b93SGuennadi Liakhovetski device_type = "memory"; 53998c6103SKumar Gala reg = <0x0 0x8000000>; 5404d76b93SGuennadi Liakhovetski }; 5504d76b93SGuennadi Liakhovetski 5604d76b93SGuennadi Liakhovetski soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 5704d76b93SGuennadi Liakhovetski #address-cells = <1>; 5804d76b93SGuennadi Liakhovetski #size-cells = <1>; 5904d76b93SGuennadi Liakhovetski device_type = "soc"; 6004d76b93SGuennadi Liakhovetski compatible = "mpc10x"; 6104d76b93SGuennadi Liakhovetski store-gathering = <0>; /* 0 == off, !0 == on */ 62998c6103SKumar Gala reg = <0x80000000 0x100000>; 63998c6103SKumar Gala ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ 64998c6103SKumar Gala 0xfc000000 0xfc000000 0x100000 /* EUMB */ 65998c6103SKumar Gala 0xfe000000 0xfe000000 0xc00000 /* pci i/o space */ 66998c6103SKumar Gala 0xfec00000 0xfec00000 0x300000 /* pci cfg regs */ 67998c6103SKumar Gala 0xfef00000 0xfef00000 0x100000>; /* pci iack */ 6804d76b93SGuennadi Liakhovetski 6904d76b93SGuennadi Liakhovetski i2c@80003000 { 70f2d32db3SGuennadi Liakhovetski #address-cells = <1>; 71f2d32db3SGuennadi Liakhovetski #size-cells = <0>; 72ec9686c4SKumar Gala cell-index = <0>; 7304d76b93SGuennadi Liakhovetski compatible = "fsl-i2c"; 74998c6103SKumar Gala reg = <0x80003000 0x1000>; 7504d76b93SGuennadi Liakhovetski interrupts = <5 2>; 765c1992f8SKumar Gala interrupt-parent = <&mpic>; 77f2d32db3SGuennadi Liakhovetski 78f2d32db3SGuennadi Liakhovetski rtc@32 { 797f2862c3SGuennadi Liakhovetski compatible = "ricoh,rs5c372a"; 80998c6103SKumar Gala reg = <0x32>; 81f2d32db3SGuennadi Liakhovetski }; 8204d76b93SGuennadi Liakhovetski }; 8304d76b93SGuennadi Liakhovetski 84ea082fa9SKumar Gala serial0: serial@80004500 { 85ea082fa9SKumar Gala cell-index = <0>; 8604d76b93SGuennadi Liakhovetski device_type = "serial"; 87*f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 88998c6103SKumar Gala reg = <0x80004500 0x8>; 89998c6103SKumar Gala clock-frequency = <130041000>; 90998c6103SKumar Gala current-speed = <9600>; 917f2862c3SGuennadi Liakhovetski interrupts = <9 0>; 925c1992f8SKumar Gala interrupt-parent = <&mpic>; 9304d76b93SGuennadi Liakhovetski }; 9404d76b93SGuennadi Liakhovetski 95ea082fa9SKumar Gala serial1: serial@80004600 { 96ea082fa9SKumar Gala cell-index = <1>; 9704d76b93SGuennadi Liakhovetski device_type = "serial"; 98*f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 99998c6103SKumar Gala reg = <0x80004600 0x8>; 100998c6103SKumar Gala clock-frequency = <130041000>; 101998c6103SKumar Gala current-speed = <57600>; 102998c6103SKumar Gala interrupts = <10 0>; 1035c1992f8SKumar Gala interrupt-parent = <&mpic>; 10404d76b93SGuennadi Liakhovetski }; 10504d76b93SGuennadi Liakhovetski 106f2d32db3SGuennadi Liakhovetski mpic: interrupt-controller@80040000 { 10704d76b93SGuennadi Liakhovetski #interrupt-cells = <2>; 10804d76b93SGuennadi Liakhovetski #address-cells = <0>; 10904d76b93SGuennadi Liakhovetski device_type = "open-pic"; 11004d76b93SGuennadi Liakhovetski compatible = "chrp,open-pic"; 11104d76b93SGuennadi Liakhovetski interrupt-controller; 112998c6103SKumar Gala reg = <0x80040000 0x40000>; 11304d76b93SGuennadi Liakhovetski }; 11404d76b93SGuennadi Liakhovetski 115ea082fa9SKumar Gala pci0: pci@fec00000 { 11604d76b93SGuennadi Liakhovetski #address-cells = <3>; 11704d76b93SGuennadi Liakhovetski #size-cells = <2>; 11804d76b93SGuennadi Liakhovetski #interrupt-cells = <1>; 11904d76b93SGuennadi Liakhovetski device_type = "pci"; 12004d76b93SGuennadi Liakhovetski compatible = "mpc10x-pci"; 121998c6103SKumar Gala reg = <0xfec00000 0x400000>; 122998c6103SKumar Gala ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000 123998c6103SKumar Gala 0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>; 124998c6103SKumar Gala bus-range = <0 255>; 125998c6103SKumar Gala clock-frequency = <133333333>; 1265c1992f8SKumar Gala interrupt-parent = <&mpic>; 127998c6103SKumar Gala interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 12804d76b93SGuennadi Liakhovetski interrupt-map = < 129e3f64788SGrant Likely /* IDSEL 11 - IRQ0 ETH */ 130998c6103SKumar Gala 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 131998c6103SKumar Gala 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 132998c6103SKumar Gala 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 133998c6103SKumar Gala 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 134e3f64788SGrant Likely /* IDSEL 12 - IRQ1 IDE0 */ 135998c6103SKumar Gala 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 136998c6103SKumar Gala 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 137998c6103SKumar Gala 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1 138998c6103SKumar Gala 0x6000 0x0 0x0 0x4 &mpic 0x0 0x1 139e3f64788SGrant Likely /* IDSEL 14 - IRQ3 USB2.0 */ 140998c6103SKumar Gala 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1 141998c6103SKumar Gala 0x7000 0x0 0x0 0x2 &mpic 0x3 0x1 142998c6103SKumar Gala 0x7000 0x0 0x0 0x3 &mpic 0x3 0x1 143998c6103SKumar Gala 0x7000 0x0 0x0 0x4 &mpic 0x3 0x1 14404d76b93SGuennadi Liakhovetski >; 14504d76b93SGuennadi Liakhovetski }; 14604d76b93SGuennadi Liakhovetski }; 14704d76b93SGuennadi Liakhovetski}; 148