Ganesan Ramalingam | d072a21 | 2012-07-13 21:53:20 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * XLP8XX Device Tree Source for EVP boards |
| 3 | */ |
| 4 | |
| 5 | /dts-v1/; |
| 6 | / { |
| 7 | model = "netlogic,XLP-EVP"; |
| 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 1 0x00000000>; |
| 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 | i2c0: ocores@32000 { |
| 26 | compatible = "opencores,i2c-ocores"; |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | reg = <0 0x32100 0xa00>; |
| 30 | reg-shift = <2>; |
| 31 | reg-io-width = <4>; |
| 32 | clock-frequency = <32000000>; |
| 33 | interrupt-parent = <&pic>; |
| 34 | interrupts = <30>; |
| 35 | }; |
| 36 | i2c1: ocores@33000 { |
| 37 | compatible = "opencores,i2c-ocores"; |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | reg = <0 0x33100 0xa00>; |
| 41 | reg-shift = <2>; |
| 42 | reg-io-width = <4>; |
| 43 | clock-frequency = <32000000>; |
| 44 | interrupt-parent = <&pic>; |
| 45 | interrupts = <31>; |
| 46 | |
| 47 | rtc@68 { |
| 48 | compatible = "dallas,ds1374"; |
| 49 | reg = <0x68>; |
| 50 | }; |
| 51 | |
| 52 | dtt@4c { |
| 53 | compatible = "national,lm90"; |
| 54 | reg = <0x4c>; |
| 55 | }; |
| 56 | }; |
| 57 | pic: pic@4000 { |
| 58 | interrupt-controller; |
| 59 | #address-cells = <0>; |
| 60 | #interrupt-cells = <1>; |
| 61 | reg = <0 0x4000 0x200>; |
| 62 | }; |
| 63 | |
| 64 | nor_flash@1,0 { |
| 65 | compatible = "cfi-flash"; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <1>; |
| 68 | bank-width = <2>; |
| 69 | reg = <1 0 0x1000000>; |
| 70 | |
| 71 | partition@0 { |
| 72 | label = "x-loader"; |
| 73 | reg = <0x0 0x100000>; /* 1M */ |
| 74 | read-only; |
| 75 | }; |
| 76 | |
| 77 | partition@100000 { |
| 78 | label = "u-boot"; |
| 79 | reg = <0x100000 0x100000>; /* 1M */ |
| 80 | }; |
| 81 | |
| 82 | partition@200000 { |
| 83 | label = "kernel"; |
| 84 | reg = <0x200000 0x500000>; /* 5M */ |
| 85 | }; |
| 86 | |
| 87 | partition@700000 { |
| 88 | label = "rootfs"; |
| 89 | reg = <0x700000 0x800000>; /* 8M */ |
| 90 | }; |
| 91 | |
| 92 | partition@f00000 { |
| 93 | label = "env"; |
| 94 | reg = <0xf00000 0x100000>; /* 1M */ |
| 95 | read-only; |
| 96 | }; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | chosen { |
| 101 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; |
| 102 | }; |
| 103 | }; |