1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * Device Tree Souce for Buffalo KuroboxHD 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHD, or use 5*4882a593Smuzhiyun * the default configuration linkstation_defconfig. 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * Based on sandpoint.dts 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de> 10*4882a593Smuzhiyun * Copyright 2008 Freescale Semiconductor, Inc. 11*4882a593Smuzhiyun * 12*4882a593Smuzhiyun * This file is licensed under 13*4882a593Smuzhiyun * the terms of the GNU General Public License version 2. This program 14*4882a593Smuzhiyun * is licensed "as is" without any warranty of any kind, whether express 15*4882a593Smuzhiyun * or implied. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunXXXX add flash parts, rtc, ?? 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun */ 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun/dts-v1/; 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun/ { 24*4882a593Smuzhiyun model = "KuroboxHD"; 25*4882a593Smuzhiyun compatible = "linkstation"; 26*4882a593Smuzhiyun #address-cells = <1>; 27*4882a593Smuzhiyun #size-cells = <1>; 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun aliases { 30*4882a593Smuzhiyun serial0 = &serial0; 31*4882a593Smuzhiyun serial1 = &serial1; 32*4882a593Smuzhiyun pci0 = &pci0; 33*4882a593Smuzhiyun }; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun cpus { 36*4882a593Smuzhiyun #address-cells = <1>; 37*4882a593Smuzhiyun #size-cells = <0>; 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun PowerPC,603e { /* Really 8241 */ 40*4882a593Smuzhiyun device_type = "cpu"; 41*4882a593Smuzhiyun reg = <0x0>; 42*4882a593Smuzhiyun clock-frequency = <200000000>; /* Fixed by bootloader */ 43*4882a593Smuzhiyun timebase-frequency = <24391680>; /* Fixed by bootloader */ 44*4882a593Smuzhiyun bus-frequency = <0>; /* Fixed by bootloader */ 45*4882a593Smuzhiyun /* Following required by dtc but not used */ 46*4882a593Smuzhiyun i-cache-size = <0x4000>; 47*4882a593Smuzhiyun d-cache-size = <0x4000>; 48*4882a593Smuzhiyun }; 49*4882a593Smuzhiyun }; 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun memory { 52*4882a593Smuzhiyun device_type = "memory"; 53*4882a593Smuzhiyun reg = <0x0 0x4000000>; 54*4882a593Smuzhiyun }; 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ 57*4882a593Smuzhiyun #address-cells = <1>; 58*4882a593Smuzhiyun #size-cells = <1>; 59*4882a593Smuzhiyun device_type = "soc"; 60*4882a593Smuzhiyun compatible = "mpc10x"; 61*4882a593Smuzhiyun store-gathering = <0>; /* 0 == off, !0 == on */ 62*4882a593Smuzhiyun reg = <0x80000000 0x100000>; 63*4882a593Smuzhiyun ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ 64*4882a593Smuzhiyun 0xfc000000 0xfc000000 0x100000 /* EUMB */ 65*4882a593Smuzhiyun 0xfe000000 0xfe000000 0xc00000 /* pci i/o space */ 66*4882a593Smuzhiyun 0xfec00000 0xfec00000 0x300000 /* pci cfg regs */ 67*4882a593Smuzhiyun 0xfef00000 0xfef00000 0x100000>; /* pci iack */ 68*4882a593Smuzhiyun 69*4882a593Smuzhiyun i2c@80003000 { 70*4882a593Smuzhiyun #address-cells = <1>; 71*4882a593Smuzhiyun #size-cells = <0>; 72*4882a593Smuzhiyun cell-index = <0>; 73*4882a593Smuzhiyun compatible = "fsl-i2c"; 74*4882a593Smuzhiyun reg = <0x80003000 0x1000>; 75*4882a593Smuzhiyun interrupts = <5 2>; 76*4882a593Smuzhiyun interrupt-parent = <&mpic>; 77*4882a593Smuzhiyun 78*4882a593Smuzhiyun rtc@32 { 79*4882a593Smuzhiyun compatible = "ricoh,rs5c372a"; 80*4882a593Smuzhiyun reg = <0x32>; 81*4882a593Smuzhiyun }; 82*4882a593Smuzhiyun }; 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun serial0: serial@80004500 { 85*4882a593Smuzhiyun cell-index = <0>; 86*4882a593Smuzhiyun device_type = "serial"; 87*4882a593Smuzhiyun compatible = "fsl,ns16550", "ns16550"; 88*4882a593Smuzhiyun reg = <0x80004500 0x8>; 89*4882a593Smuzhiyun clock-frequency = <97553800>; 90*4882a593Smuzhiyun current-speed = <9600>; 91*4882a593Smuzhiyun interrupts = <9 0>; 92*4882a593Smuzhiyun interrupt-parent = <&mpic>; 93*4882a593Smuzhiyun }; 94*4882a593Smuzhiyun 95*4882a593Smuzhiyun serial1: serial@80004600 { 96*4882a593Smuzhiyun cell-index = <1>; 97*4882a593Smuzhiyun device_type = "serial"; 98*4882a593Smuzhiyun compatible = "fsl,ns16550", "ns16550"; 99*4882a593Smuzhiyun reg = <0x80004600 0x8>; 100*4882a593Smuzhiyun clock-frequency = <97553800>; 101*4882a593Smuzhiyun current-speed = <57600>; 102*4882a593Smuzhiyun interrupts = <10 0>; 103*4882a593Smuzhiyun interrupt-parent = <&mpic>; 104*4882a593Smuzhiyun }; 105*4882a593Smuzhiyun 106*4882a593Smuzhiyun mpic: interrupt-controller@80040000 { 107*4882a593Smuzhiyun #interrupt-cells = <2>; 108*4882a593Smuzhiyun #address-cells = <0>; 109*4882a593Smuzhiyun device_type = "open-pic"; 110*4882a593Smuzhiyun compatible = "chrp,open-pic"; 111*4882a593Smuzhiyun interrupt-controller; 112*4882a593Smuzhiyun reg = <0x80040000 0x40000>; 113*4882a593Smuzhiyun }; 114*4882a593Smuzhiyun 115*4882a593Smuzhiyun pci0: pci@fec00000 { 116*4882a593Smuzhiyun #address-cells = <3>; 117*4882a593Smuzhiyun #size-cells = <2>; 118*4882a593Smuzhiyun #interrupt-cells = <1>; 119*4882a593Smuzhiyun device_type = "pci"; 120*4882a593Smuzhiyun compatible = "mpc10x-pci"; 121*4882a593Smuzhiyun reg = <0xfec00000 0x400000>; 122*4882a593Smuzhiyun ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000 123*4882a593Smuzhiyun 0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>; 124*4882a593Smuzhiyun bus-range = <0 255>; 125*4882a593Smuzhiyun clock-frequency = <133333333>; 126*4882a593Smuzhiyun interrupt-parent = <&mpic>; 127*4882a593Smuzhiyun interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 128*4882a593Smuzhiyun interrupt-map = < 129*4882a593Smuzhiyun /* IDSEL 11 - IRQ0 ETH */ 130*4882a593Smuzhiyun 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 131*4882a593Smuzhiyun 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 132*4882a593Smuzhiyun 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 133*4882a593Smuzhiyun 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 134*4882a593Smuzhiyun /* IDSEL 12 - IRQ1 IDE0 */ 135*4882a593Smuzhiyun 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 136*4882a593Smuzhiyun 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 137*4882a593Smuzhiyun 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1 138*4882a593Smuzhiyun 0x6000 0x0 0x0 0x4 &mpic 0x0 0x1 139*4882a593Smuzhiyun /* IDSEL 14 - IRQ3 USB2.0 */ 140*4882a593Smuzhiyun 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1 141*4882a593Smuzhiyun 0x7000 0x0 0x0 0x2 &mpic 0x3 0x1 142*4882a593Smuzhiyun 0x7000 0x0 0x0 0x3 &mpic 0x3 0x1 143*4882a593Smuzhiyun 0x7000 0x0 0x0 0x4 &mpic 0x3 0x1 144*4882a593Smuzhiyun >; 145*4882a593Smuzhiyun }; 146*4882a593Smuzhiyun }; 147*4882a593Smuzhiyun}; 148