1 #define DDR_PHY_TBL_CHG_ADDR 0xaeeddeea 2 #define DDR_PHY_TBL_END 0xaeededed 3 4 /* DDR4-1600 PHY configuration table */ 5 u32 ast2600_sdramphy_config[163] = { 6 0x1e6e0100, // start address 7 0x022a0092, // phyr000 8 0x00000042, // phyr004 9 0x1a7a0063, // phyr008 10 0x1a7a0063, // phyr00C 11 0x1a7a0063, // phyr010 12 0x1a7a0063, // phyr014 13 0x20000000, // phyr018 14 0x20000000, // phyr01C 15 0x20000000, // phyr020 16 0x20000000, // phyr024 17 0x00000008, // phyr028 18 0x00000000, // phyr02C 19 0x00000000, // phyr030 20 0x00000000, // phyr034 21 0x00000000, // phyr038 22 0x20000000, // phyr03C 23 0x00000000, // phyr040 24 0x00000000, // phyr044 25 0x00000000, // phyr048 26 0x00003080, // phyr04C 27 0xf400f000, // phyr050 28 0x00000000, // phyr054 29 0x07100001, // phyr058 30 0x04000000, // phyr05c 31 0x00000400, // phyr060 32 0x00000000, // phyr064 33 0x000c0004, // phyr068 34 0x00800200, // phyr06c 35 0x000c0006, // phyr070 36 0x000f0000, // phyr074 37 0x0012c107, // phyr078 38 0x06080606, // phyr07c 39 0x40000900, // phyr080 40 0x0c400c30, // phyr084 41 0x00001002, // phyr088 42 0x05701016, // phyr08c 43 0x00000000, // phyr090 44 0xaeeddeea, // change address 45 0x1e6e019c, // new address 46 0x20202020, // phyr09c 47 0x20202020, // phyr0a0 48 0x00002020, // phyr0a4 49 0x80002020, // phyr0a8 50 0x00000001, // phyr0ac 51 0xaeeddeea, // change address 52 0x1e6e01cc, // new address 53 0x01010101, // phyr0cc 54 0x01010101, // phyr0d0 55 0x80808080, // phyr0d4 56 0x80808080, // phyr0d8 57 0xaeeddeea, // change address 58 0x1e6e0288, // new address 59 0x78787878, // phyr188 60 0x78787878, // phyr18c 61 0x78787878, // phyr190 62 0x78787878, // phyr194 63 0xaeeddeea, // change address 64 0x1e6e02f8, // new address 65 0x88888888, // phyr1f8 66 0x88888888, // phyr1fc 67 0x00000000, // phyr200 68 0xaeeddeea, // change address 69 0x1e6e0194, // new address 70 0xff2100e0, // phyr094 71 0xaeeddeea, // change address 72 0x1e6e019c, // new address 73 0x20202020, // phyr09c 74 0x20202020, // phyr0a0 75 0x00002020, // phyr0a4 76 0x80000000, // phyr0a8 77 0x00000000, // phyr0ac 78 0xaeeddeea, // change address 79 0x1e6e027c, // new address 80 0x00080000, // phyr17c 81 0xaeeddeea, // change address 82 0x1e6e0140, // new address 83 0x00000f00, // phyr040 84 0x00000000, // phyr044 85 0x00000704, // phyr048 86 0xaeeddeea, // change address 87 0x1e6e0198, // new address 88 0x08060000, // phyr098 89 0xaeeddeea, // change address 90 0x1e6e01b0, // new address 91 0x00000000, // phyr0b0 92 0x00000000, // phyr0b4 93 0x00000000, // phyr0b8 94 0x00000000, // phyr0bc 95 0x00000000, // phyr0c0 96 0x00000000, // phyr0c4 97 0x000aff2c, // phyr0c8 98 0xaeeddeea, // change address 99 0x1e6e01dc, // new address 100 0x00080000, // phyr0dc 101 0x00000000, // phyr0e0 102 0xaa55aa55, // phyr0e4 103 0x55aa55aa, // phyr0e8 104 0xaaaa5555, // phyr0ec 105 0x5555aaaa, // phyr0f0 106 0xaa55aa55, // phyr0f4 107 0x55aa55aa, // phyr0f8 108 0xaaaa5555, // phyr0fc 109 0x5555aaaa, // phyr100 110 0xaa55aa55, // phyr104 111 0x55aa55aa, // phyr108 112 0xaaaa5555, // phyr10c 113 0x5555aaaa, // phyr110 114 0xaa55aa55, // phyr114 115 0x55aa55aa, // phyr118 116 0xaaaa5555, // phyr11c 117 0x5555aaaa, // phyr120 118 0x1f1f1f1f, // phyr124 119 0x1f1f1f1f, // phyr128 120 0x1f1f1f1f, // phyr12c 121 0x1f1f1f1f, // phyr130 122 0x1f1f1f1f, // phyr134 123 0x1f1f1f1f, // phyr138 124 0x1f1f1f1f, // phyr13c 125 0x1f1f1f1f, // phyr140 126 0x1f1f1f1f, // phyr144 127 0x1f1f1f1f, // phyr148 128 0x1f1f1f1f, // phyr14c 129 0x1f1f1f1f, // phyr150 130 0x1f1f1f1f, // phyr154 131 0x1f1f1f1f, // phyr158 132 0x1f1f1f1f, // phyr15c 133 0x1f1f1f1f, // phyr160 134 0x1f1f1f1f, // phyr164 135 0x1f1f1f1f, // phyr168 136 0x1f1f1f1f, // phyr16c 137 0x1f1f1f1f, // phyr170 138 0xaeeddeea, // change address 139 0x1e6e0198, // new address 140 0x1f1f0800, // phyr198 141 0x1f1f1f1f, // phyr19c 142 0x1f1f1f1f, // phyr1a0 143 0x1f1f1f1f, // phyr1a4 144 0x1f1f1f1f, // phyr1a8 145 0x1f1f1f1f, // phyr1ac 146 0x1f1f1f1f, // phyr1b0 147 0x1f1f1f1f, // phyr1b4 148 0x1f1f1f1f, // phyr1b8 149 0x1f1f1f1f, // phyr1bc 150 0x1f1f1f1f, // phyr1c0 151 0x1f1f1f1f, // phyr1c4 152 0x1f1f1f1f, // phyr1c8 153 0x1f1f1f1f, // phyr1cc 154 0x1f1f1f1f, // phyr1d0 155 0x1f1f1f1f, // phyr1d4 156 0x1f1f1f1f, // phyr1d8 157 0x1f1f1f1f, // phyr1dc 158 0x1f1f1f1f, // phyr1e0 159 0x1f1f1f1f, // phyr1e4 160 0x00001f1f, // phyr1e8 161 0xaeeddeea, // change address 162 0x1e6e0304, // new address 163 0x00000800, // phyr204 164 0xaeeddeea, // change address 165 0x1e6e0310, // new address 166 0xc0300c03, // phyr210 167 0xa0500a05, // phyr214 168 0xaeededed, // end 169 };