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