1/* 2 * XLP3XX Device Tree Source for SVP boards 3 */ 4 5/dts-v1/; 6/ { 7 model = "netlogic,XLP-SVP"; 8 compatible = "netlogic,xlp"; 9 #address-cells = <2>; 10 #size-cells = <2>; 11 12 memory { 13 device_type = "memory"; 14 reg = <0 0x00100000 0 0x0FF00000 // 255M at 1M 15 0 0x20000000 0 0xa0000000 // 2560M at 512M 16 0 0xe0000000 0 0x40000000>; 17 }; 18 19 soc { 20 #address-cells = <2>; 21 #size-cells = <1>; 22 compatible = "simple-bus"; 23 ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG 24 1 0 0 0x16000000 0x01000000>; // GBU chipselects 25 26 serial0: serial@30000 { 27 device_type = "serial"; 28 compatible = "ns16550"; 29 reg = <0 0x30100 0xa00>; 30 reg-shift = <2>; 31 reg-io-width = <4>; 32 clock-frequency = <133333333>; 33 interrupt-parent = <&pic>; 34 interrupts = <17>; 35 }; 36 serial1: serial@31000 { 37 device_type = "serial"; 38 compatible = "ns16550"; 39 reg = <0 0x31100 0xa00>; 40 reg-shift = <2>; 41 reg-io-width = <4>; 42 clock-frequency = <133333333>; 43 interrupt-parent = <&pic>; 44 interrupts = <18>; 45 }; 46 i2c0: ocores@32000 { 47 compatible = "opencores,i2c-ocores"; 48 #address-cells = <1>; 49 #size-cells = <0>; 50 reg = <0 0x32100 0xa00>; 51 reg-shift = <2>; 52 reg-io-width = <4>; 53 clock-frequency = <32000000>; 54 interrupt-parent = <&pic>; 55 interrupts = <30>; 56 }; 57 i2c1: ocores@33000 { 58 compatible = "opencores,i2c-ocores"; 59 #address-cells = <1>; 60 #size-cells = <0>; 61 reg = <0 0x33100 0xa00>; 62 reg-shift = <2>; 63 reg-io-width = <4>; 64 clock-frequency = <32000000>; 65 interrupt-parent = <&pic>; 66 interrupts = <31>; 67 68 rtc@68 { 69 compatible = "dallas,ds1374"; 70 reg = <0x68>; 71 }; 72 73 dtt@4c { 74 compatible = "national,lm90"; 75 reg = <0x4c>; 76 }; 77 }; 78 pic: pic@4000 { 79 interrupt-controller; 80 #address-cells = <0>; 81 #interrupt-cells = <1>; 82 reg = <0 0x4000 0x200>; 83 }; 84 85 nor_flash@1,0 { 86 compatible = "cfi-flash"; 87 #address-cells = <1>; 88 #size-cells = <1>; 89 bank-width = <2>; 90 reg = <1 0 0x1000000>; 91 92 partition@0 { 93 label = "x-loader"; 94 reg = <0x0 0x100000>; /* 1M */ 95 read-only; 96 }; 97 98 partition@100000 { 99 label = "u-boot"; 100 reg = <0x100000 0x100000>; /* 1M */ 101 }; 102 103 partition@200000 { 104 label = "kernel"; 105 reg = <0x200000 0x500000>; /* 5M */ 106 }; 107 108 partition@700000 { 109 label = "rootfs"; 110 reg = <0x700000 0x800000>; /* 8M */ 111 }; 112 113 partition@f00000 { 114 label = "env"; 115 reg = <0xf00000 0x100000>; /* 1M */ 116 read-only; 117 }; 118 }; 119 }; 120 121 chosen { 122 bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; 123 }; 124}; 125