summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/madera/registers.h
blob: 977e061017117f88045f8e72a08c4fcc772a375d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
// SPDX-License-Identifier: GPL-2.0
/*
 * Madera register definitions
 *
 * Copyright (C) 2015-2018 Cirrus Logic
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation; version 2.
 */

#ifndef MADERA_REGISTERS_H
#define MADERA_REGISTERS_H

/*
 * Register Addresses.
 */
#define MADERA_SOFTWARE_RESET				0x00
#define MADERA_HARDWARE_REVISION			0x01
#define MADERA_CTRL_IF_CFG_1				0x08
#define MADERA_CTRL_IF_CFG_2				0x09
#define MADERA_CTRL_IF_CFG_3				0x0A
#define MADERA_WRITE_SEQUENCER_CTRL_0			0x16
#define MADERA_WRITE_SEQUENCER_CTRL_1			0x17
#define MADERA_WRITE_SEQUENCER_CTRL_2			0x18
#define MADERA_TONE_GENERATOR_1				0x20
#define MADERA_TONE_GENERATOR_2				0x21
#define MADERA_TONE_GENERATOR_3				0x22
#define MADERA_TONE_GENERATOR_4				0x23
#define MADERA_TONE_GENERATOR_5				0x24
#define MADERA_PWM_DRIVE_1				0x30
#define MADERA_PWM_DRIVE_2				0x31
#define MADERA_PWM_DRIVE_3				0x32
#define MADERA_SEQUENCE_CONTROL				0x41
#define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_1		0x61
#define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_2		0x62
#define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_3		0x63
#define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_4		0x64
#define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1	0x66
#define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2	0x67
#define MADERA_HAPTICS_CONTROL_1			0x90
#define MADERA_HAPTICS_CONTROL_2			0x91
#define MADERA_HAPTICS_PHASE_1_INTENSITY		0x92
#define MADERA_HAPTICS_PHASE_1_DURATION			0x93
#define MADERA_HAPTICS_PHASE_2_INTENSITY		0x94
#define MADERA_HAPTICS_PHASE_2_DURATION			0x95
#define MADERA_HAPTICS_PHASE_3_INTENSITY		0x96
#define MADERA_HAPTICS_PHASE_3_DURATION			0x97
#define MADERA_HAPTICS_STATUS				0x98
#define MADERA_COMFORT_NOISE_GENERATOR			0xA0
#define MADERA_CLOCK_32K_1				0x100
#define MADERA_SYSTEM_CLOCK_1				0x101
#define MADERA_SAMPLE_RATE_1				0x102
#define MADERA_SAMPLE_RATE_2				0x103
#define MADERA_SAMPLE_RATE_3				0x104
#define MADERA_SAMPLE_RATE_1_STATUS			0x10A
#define MADERA_SAMPLE_RATE_2_STATUS			0x10B
#define MADERA_SAMPLE_RATE_3_STATUS			0x10C
#define MADERA_ASYNC_CLOCK_1				0x112
#define MADERA_ASYNC_SAMPLE_RATE_1			0x113
#define MADERA_ASYNC_SAMPLE_RATE_2			0x114
#define MADERA_ASYNC_SAMPLE_RATE_1_STATUS		0x11B
#define MADERA_ASYNC_SAMPLE_RATE_2_STATUS		0x11C
#define MADERA_DSP_CLOCK_1				0x120
#define MADERA_DSP_CLOCK_2				0x122
#define MADERA_OUTPUT_SYSTEM_CLOCK			0x149
#define MADERA_OUTPUT_ASYNC_CLOCK			0x14A
#define MADERA_RATE_ESTIMATOR_1				0x152
#define MADERA_RATE_ESTIMATOR_2				0x153
#define MADERA_RATE_ESTIMATOR_3				0x154
#define MADERA_RATE_ESTIMATOR_4				0x155
#define MADERA_RATE_ESTIMATOR_5				0x156
#define MADERA_FLL1_CONTROL_1				0x171
#define MADERA_FLL1_CONTROL_2				0x172
#define MADERA_FLL1_CONTROL_3				0x173
#define MADERA_FLL1_CONTROL_4				0x174
#define MADERA_FLL1_CONTROL_5				0x175
#define MADERA_FLL1_CONTROL_6				0x176
#define MADERA_FLL1_LOOP_FILTER_TEST_1			0x177
#define MADERA_FLL1_NCO_TEST_0				0x178
#define MADERA_FLL1_CONTROL_7				0x179
#define MADERA_FLL1_EFS_2				0x17A
#define CS47L35_FLL1_SYNCHRONISER_1			0x17F
#define CS47L35_FLL1_SYNCHRONISER_2			0x180
#define CS47L35_FLL1_SYNCHRONISER_3			0x181
#define CS47L35_FLL1_SYNCHRONISER_4			0x182
#define CS47L35_FLL1_SYNCHRONISER_5			0x183
#define CS47L35_FLL1_SYNCHRONISER_6			0x184
#define CS47L35_FLL1_SYNCHRONISER_7			0x185
#define CS47L35_FLL1_SPREAD_SPECTRUM			0x187
#define CS47L35_FLL1_GPIO_CLOCK				0x188
#define MADERA_FLL1_SYNCHRONISER_1			0x181
#define MADERA_FLL1_SYNCHRONISER_2			0x182
#define MADERA_FLL1_SYNCHRONISER_3			0x183
#define MADERA_FLL1_SYNCHRONISER_4			0x184
#define MADERA_FLL1_SYNCHRONISER_5			0x185
#define MADERA_FLL1_SYNCHRONISER_6			0x186
#define MADERA_FLL1_SYNCHRONISER_7			0x187
#define MADERA_FLL1_SPREAD_SPECTRUM			0x189
#define MADERA_FLL1_GPIO_CLOCK				0x18A
#define MADERA_FLL2_CONTROL_1				0x191
#define MADERA_FLL2_CONTROL_2				0x192
#define MADERA_FLL2_CONTROL_3				0x193
#define MADERA_FLL2_CONTROL_4				0x194
#define MADERA_FLL2_CONTROL_5				0x195
#define MADERA_FLL2_CONTROL_6				0x196
#define MADERA_FLL2_LOOP_FILTER_TEST_1			0x197
#define MADERA_FLL2_NCO_TEST_0				0x198
#define MADERA_FLL2_CONTROL_7				0x199
#define MADERA_FLL2_EFS_2				0x19A
#define MADERA_FLL2_SYNCHRONISER_1			0x1A1
#define MADERA_FLL2_SYNCHRONISER_2			0x1A2
#define MADERA_FLL2_SYNCHRONISER_3			0x1A3
#define MADERA_FLL2_SYNCHRONISER_4			0x1A4
#define MADERA_FLL2_SYNCHRONISER_5			0x1A5
#define MADERA_FLL2_SYNCHRONISER_6			0x1A6
#define MADERA_FLL2_SYNCHRONISER_7			0x1A7
#define MADERA_FLL2_SPREAD_SPECTRUM			0x1A9
#define MADERA_FLL2_GPIO_CLOCK				0x1AA
#define MADERA_FLL3_CONTROL_1				0x1B1
#define MADERA_FLL3_CONTROL_2				0x1B2
#define MADERA_FLL3_CONTROL_3				0x1B3
#define MADERA_FLL3_CONTROL_4				0x1B4
#define MADERA_FLL3_CONTROL_5				0x1B5
#define MADERA_FLL3_CONTROL_6				0x1B6
#define MADERA_FLL3_LOOP_FILTER_TEST_1			0x1B7
#define MADERA_FLL3_NCO_TEST_0				0x1B8
#define MADERA_FLL3_CONTROL_7				0x1B9
#define MADERA_FLL3_SYNCHRONISER_1			0x1C1
#define MADERA_FLL3_SYNCHRONISER_2			0x1C2
#define MADERA_FLL3_SYNCHRONISER_3			0x1C3
#define MADERA_FLL3_SYNCHRONISER_4			0x1C4
#define MADERA_FLL3_SYNCHRONISER_5			0x1C5
#define MADERA_FLL3_SYNCHRONISER_6			0x1C6
#define MADERA_FLL3_SYNCHRONISER_7			0x1C7
#define MADERA_FLL3_SPREAD_SPECTRUM			0x1C9
#define MADERA_FLL3_GPIO_CLOCK				0x1CA
#define MADERA_FLLAO_CONTROL_1				0x1D1
#define MADERA_FLLAO_CONTROL_2				0x1D2
#define MADERA_FLLAO_CONTROL_3				0x1D3
#define MADERA_FLLAO_CONTROL_4				0x1D4
#define MADERA_FLLAO_CONTROL_5				0x1D5
#define MADERA_FLLAO_CONTROL_6				0x1D6
#define MADERA_FLLAO_CONTROL_7				0x1D8
#define MADERA_FLLAO_CONTROL_8				0x1DA
#define MADERA_FLLAO_CONTROL_9				0x1DB
#define MADERA_FLLAO_CONTROL_10				0x1DC
#define MADERA_FLLAO_CONTROL_11				0x1DD
#define MADERA_MIC_CHARGE_PUMP_1			0x200
#define MADERA_HP_CHARGE_PUMP_8				0x20B
#define MADERA_LDO1_CONTROL_1				0x210
#define MADERA_LDO2_CONTROL_1				0x213
#define MADERA_MIC_BIAS_CTRL_1				0x218
#define MADERA_MIC_BIAS_CTRL_2				0x219
#define MADERA_MIC_BIAS_CTRL_3				0x21A
#define MADERA_MIC_BIAS_CTRL_4				0x21B
#define MADERA_MIC_BIAS_CTRL_5				0x21C
#define MADERA_MIC_BIAS_CTRL_6				0x21E
#define MADERA_HP_CTRL_1L				0x225
#define MADERA_HP_CTRL_1R				0x226
#define MADERA_HP_CTRL_2L				0x227
#define MADERA_HP_CTRL_2R				0x228
#define MADERA_HP_CTRL_3L				0x229
#define MADERA_HP_CTRL_3R				0x22A
#define MADERA_DCS_HP1L_CONTROL				0x232
#define MADERA_DCS_HP1R_CONTROL				0x238
#define MADERA_EDRE_HP_STEREO_CONTROL			0x27E
#define MADERA_ACCESSORY_DETECT_MODE_1			0x293
#define MADERA_HEADPHONE_DETECT_0			0x299
#define MADERA_HEADPHONE_DETECT_1			0x29B
#define MADERA_HEADPHONE_DETECT_2			0x29C
#define MADERA_HEADPHONE_DETECT_3			0x29D
#define MADERA_HEADPHONE_DETECT_4			0x29E
#define MADERA_HEADPHONE_DETECT_5			0x29F
#define MADERA_MIC_DETECT_1_CONTROL_0			0x2A2
#define MADERA_MIC_DETECT_1_CONTROL_1			0x2A3
#define MADERA_MIC_DETECT_1_CONTROL_2			0x2A4
#define MADERA_MIC_DETECT_1_CONTROL_3			0x2A5
#define MADERA_MIC_DETECT_1_LEVEL_1			0x2A6
#define MADERA_MIC_DETECT_1_LEVEL_2			0x2A7
#define MADERA_MIC_DETECT_1_LEVEL_3			0x2A8
#define MADERA_MIC_DETECT_1_LEVEL_4			0x2A9
#define MADERA_MIC_DETECT_1_CONTROL_4			0x2AB
#define MADERA_MIC_DETECT_2_CONTROL_0			0x2B2
#define MADERA_MIC_DETECT_2_CONTROL_1			0x2B3
#define MADERA_MIC_DETECT_2_CONTROL_2			0x2B4
#define MADERA_MIC_DETECT_2_CONTROL_3			0x2B5
#define MADERA_MIC_DETECT_2_LEVEL_1			0x2B6
#define MADERA_MIC_DETECT_2_LEVEL_2			0x2B7
#define MADERA_MIC_DETECT_2_LEVEL_3			0x2B8
#define MADERA_MIC_DETECT_2_LEVEL_4			0x2B9
#define MADERA_MIC_DETECT_2_CONTROL_4			0x2BB
#define MADERA_MICD_CLAMP_CONTROL			0x2C6
#define MADERA_GP_SWITCH_1				0x2C8
#define MADERA_JACK_DETECT_ANALOGUE			0x2D3
#define MADERA_INPUT_ENABLES				0x300
#define MADERA_INPUT_ENABLES_STATUS			0x301
#define MADERA_INPUT_RATE				0x308
#define MADERA_INPUT_VOLUME_RAMP			0x309
#define MADERA_HPF_CONTROL				0x30C
#define MADERA_IN1L_CONTROL				0x310
#define MADERA_ADC_DIGITAL_VOLUME_1L			0x311
#define MADERA_DMIC1L_CONTROL				0x312
#define MADERA_IN1L_RATE_CONTROL			0x313
#define MADERA_IN1R_CONTROL				0x314
#define MADERA_ADC_DIGITAL_VOLUME_1R			0x315
#define MADERA_DMIC1R_CONTROL				0x316
#define MADERA_IN1R_RATE_CONTROL			0x317
#define MADERA_IN2L_CONTROL				0x318
#define MADERA_ADC_DIGITAL_VOLUME_2L			0x319
#define MADERA_DMIC2L_CONTROL				0x31A
#define MADERA_IN2L_RATE_CONTROL			0x31B
#define MADERA_IN2R_CONTROL				0x31C
#define MADERA_ADC_DIGITAL_VOLUME_2R			0x31D
#define MADERA_DMIC2R_CONTROL				0x31E
#define MADERA_IN2R_RATE_CONTROL			0x31F
#define MADERA_IN3L_CONTROL				0x320
#define MADERA_ADC_DIGITAL_VOLUME_3L			0x321
#define MADERA_DMIC3L_CONTROL				0x322
#define MADERA_IN3L_RATE_CONTROL			0x323
#define MADERA_IN3R_CONTROL				0x324
#define MADERA_ADC_DIGITAL_VOLUME_3R			0x325
#define MADERA_DMIC3R_CONTROL				0x326
#define MADERA_IN3R_RATE_CONTROL			0x327
#define MADERA_IN4L_CONTROL				0x328
#define MADERA_ADC_DIGITAL_VOLUME_4L			0x329
#define MADERA_DMIC4L_CONTROL				0x32A
#define MADERA_IN4L_RATE_CONTROL			0x32B
#define MADERA_IN4R_CONTROL				0x32C
#define MADERA_ADC_DIGITAL_VOLUME_4R			0x32D
#define MADERA_DMIC4R_CONTROL				0x32E
#define MADERA_IN4R_RATE_CONTROL			0x32F
#define MADERA_IN5L_CONTROL				0x330
#define MADERA_ADC_DIGITAL_VOLUME_5L			0x331
#define MADERA_DMIC5L_CONTROL				0x332
#define MADERA_IN5L_RATE_CONTROL			0x333
#define MADERA_IN5R_CONTROL				0x334
#define MADERA_ADC_DIGITAL_VOLUME_5R			0x335
#define MADERA_DMIC5R_CONTROL				0x336
#define MADERA_IN5R_RATE_CONTROL			0x337
#define MADERA_IN6L_CONTROL				0x338
#define MADERA_ADC_DIGITAL_VOLUME_6L			0x339
#define MADERA_DMIC6L_CONTROL				0x33A
#define MADERA_IN6R_CONTROL				0x33C
#define MADERA_ADC_DIGITAL_VOLUME_6R			0x33D
#define MADERA_DMIC6R_CONTROL				0x33E
#define MADERA_OUTPUT_ENABLES_1				0x400
#define MADERA_OUTPUT_STATUS_1				0x401
#define MADERA_RAW_OUTPUT_STATUS_1			0x406
#define MADERA_OUTPUT_RATE_1				0x408
#define MADERA_OUTPUT_VOLUME_RAMP			0x409
#define MADERA_OUTPUT_PATH_CONFIG_1L			0x410
#define MADERA_DAC_DIGITAL_VOLUME_1L			0x411
#define MADERA_OUTPUT_PATH_CONFIG_1			0x412
#define MADERA_NOISE_GATE_SELECT_1L			0x413
#define MADERA_OUTPUT_PATH_CONFIG_1R			0x414
#define MADERA_DAC_DIGITAL_VOLUME_1R			0x415
#define MADERA_NOISE_GATE_SELECT_1R			0x417
#define MADERA_OUTPUT_PATH_CONFIG_2L			0x418
#define MADERA_DAC_DIGITAL_VOLUME_2L			0x419
#define MADERA_OUTPUT_PATH_CONFIG_2			0x41A
#define MADERA_NOISE_GATE_SELECT_2L			0x41B
#define MADERA_OUTPUT_PATH_CONFIG_2R			0x41C
#define MADERA_DAC_DIGITAL_VOLUME_2R			0x41D
#define MADERA_NOISE_GATE_SELECT_2R			0x41F
#define MADERA_OUTPUT_PATH_CONFIG_3L			0x420
#define MADERA_DAC_DIGITAL_VOLUME_3L			0x421
#define MADERA_NOISE_GATE_SELECT_3L			0x423
#define MADERA_OUTPUT_PATH_CONFIG_3R			0x424
#define MADERA_DAC_DIGITAL_VOLUME_3R			0x425
#define MADERA_NOISE_GATE_SELECT_3R			0x427
#define MADERA_OUTPUT_PATH_CONFIG_4L			0x428
#define MADERA_DAC_DIGITAL_VOLUME_4L			0x429
#define MADERA_NOISE_GATE_SELECT_4L			0x42B
#define MADERA_OUTPUT_PATH_CONFIG_4R			0x42C
#define MADERA_DAC_DIGITAL_VOLUME_4R			0x42D
#define MADERA_NOISE_GATE_SELECT_4R			0x42F
#define MADERA_OUTPUT_PATH_CONFIG_5L			0x430
#define MADERA_DAC_DIGITAL_VOLUME_5L			0x431
#define MADERA_NOISE_GATE_SELECT_5L			0x433
#define MADERA_OUTPUT_PATH_CONFIG_5R			0x434
#define MADERA_DAC_DIGITAL_VOLUME_5R			0x435
#define MADERA_NOISE_GATE_SELECT_5R			0x437
#define MADERA_OUTPUT_PATH_CONFIG_6L			0x438
#define MADERA_DAC_DIGITAL_VOLUME_6L			0x439
#define MADERA_NOISE_GATE_SELECT_6L			0x43B
#define MADERA_OUTPUT_PATH_CONFIG_6R			0x43C
#define MADERA_DAC_DIGITAL_VOLUME_6R			0x43D
#define MADERA_NOISE_GATE_SELECT_6R			0x43F
#define MADERA_DRE_ENABLE				0x440
#define MADERA_EDRE_ENABLE				0x448
#define MADERA_EDRE_MANUAL				0x44A
#define MADERA_DAC_AEC_CONTROL_1			0x450
#define MADERA_DAC_AEC_CONTROL_2			0x451
#define MADERA_NOISE_GATE_CONTROL			0x458
#define MADERA_PDM_SPK1_CTRL_1				0x490
#define MADERA_PDM_SPK1_CTRL_2				0x491
#define MADERA_PDM_SPK2_CTRL_1				0x492
#define MADERA_PDM_SPK2_CTRL_2				0x493
#define MADERA_HP1_SHORT_CIRCUIT_CTRL			0x4A0
#define MADERA_HP2_SHORT_CIRCUIT_CTRL			0x4A1
#define MADERA_HP3_SHORT_CIRCUIT_CTRL			0x4A2
#define MADERA_HP_TEST_CTRL_1				0x4A4
#define MADERA_HP_TEST_CTRL_5				0x4A8
#define MADERA_HP_TEST_CTRL_6				0x4A9
#define MADERA_AIF1_BCLK_CTRL				0x500
#define MADERA_AIF1_TX_PIN_CTRL				0x501
#define MADERA_AIF1_RX_PIN_CTRL				0x502
#define MADERA_AIF1_RATE_CTRL				0x503
#define MADERA_AIF1_FORMAT				0x504
#define MADERA_AIF1_RX_BCLK_RATE			0x506
#define MADERA_AIF1_FRAME_CTRL_1			0x507
#define MADERA_AIF1_FRAME_CTRL_2			0x508
#define MADERA_AIF1_FRAME_CTRL_3			0x509
#define MADERA_AIF1_FRAME_CTRL_4			0x50A
#define MADERA_AIF1_FRAME_CTRL_5			0x50B
#define MADERA_AIF1_FRAME_CTRL_6			0x50C
#define MADERA_AIF1_FRAME_CTRL_7			0x50D
#define MADERA_AIF1_FRAME_CTRL_8			0x50E
#define MADERA_AIF1_FRAME_CTRL_9			0x50F
#define MADERA_AIF1_FRAME_CTRL_10			0x510
#define MADERA_AIF1_FRAME_CTRL_11			0x511
#define MADERA_AIF1_FRAME_CTRL_12			0x512
#define MADERA_AIF1_FRAME_CTRL_13			0x513
#define MADERA_AIF1_FRAME_CTRL_14			0x514
#define MADERA_AIF1_FRAME_CTRL_15			0x515
#define MADERA_AIF1_FRAME_CTRL_16			0x516
#define MADERA_AIF1_FRAME_CTRL_17			0x517
#define MADERA_AIF1_FRAME_CTRL_18			0x518
#define MADERA_AIF1_TX_ENABLES				0x519
#define MADERA_AIF1_RX_ENABLES				0x51A
#define MADERA_AIF1_FORCE_WRITE				0x51B
#define MADERA_AIF2_BCLK_CTRL				0x540
#define MADERA_AIF2_TX_PIN_CTRL				0x541
#define MADERA_AIF2_RX_PIN_CTRL				0x542
#define MADERA_AIF2_RATE_CTRL				0x543
#define MADERA_AIF2_FORMAT				0x544
#define MADERA_AIF2_RX_BCLK_RATE			0x546
#define MADERA_AIF2_FRAME_CTRL_1			0x547
#define MADERA_AIF2_FRAME_CTRL_2			0x548
#define MADERA_AIF2_FRAME_CTRL_3			0x549
#define MADERA_AIF2_FRAME_CTRL_4			0x54A
#define MADERA_AIF2_FRAME_CTRL_5			0x54B
#define MADERA_AIF2_FRAME_CTRL_6			0x54C
#define MADERA_AIF2_FRAME_CTRL_7			0x54D
#define MADERA_AIF2_FRAME_CTRL_8			0x54E
#define MADERA_AIF2_FRAME_CTRL_9			0x54F
#define MADERA_AIF2_FRAME_CTRL_10			0x550
#define MADERA_AIF2_FRAME_CTRL_11			0x551
#define MADERA_AIF2_FRAME_CTRL_12			0x552
#define MADERA_AIF2_FRAME_CTRL_13			0x553
#define MADERA_AIF2_FRAME_CTRL_14			0x554
#define MADERA_AIF2_FRAME_CTRL_15			0x555
#define MADERA_AIF2_FRAME_CTRL_16			0x556
#define MADERA_AIF2_FRAME_CTRL_17			0x557
#define MADERA_AIF2_FRAME_CTRL_18			0x558
#define MADERA_AIF2_TX_ENABLES				0x559
#define MADERA_AIF2_RX_ENABLES				0x55A
#define MADERA_AIF2_FORCE_WRITE				0x55B
#define MADERA_AIF3_BCLK_CTRL				0x580
#define MADERA_AIF3_TX_PIN_CTRL				0x581
#define MADERA_AIF3_RX_PIN_CTRL				0x582
#define MADERA_AIF3_RATE_CTRL				0x583
#define MADERA_AIF3_FORMAT				0x584
#define MADERA_AIF3_RX_BCLK_RATE			0x586
#define MADERA_AIF3_FRAME_CTRL_1			0x587
#define MADERA_AIF3_FRAME_CTRL_2			0x588
#define MADERA_AIF3_FRAME_CTRL_3			0x589
#define MADERA_AIF3_FRAME_CTRL_4			0x58A
#define MADERA_AIF3_FRAME_CTRL_11			0x591
#define MADERA_AIF3_FRAME_CTRL_12			0x592
#define MADERA_AIF3_TX_ENABLES				0x599
#define MADERA_AIF3_RX_ENABLES				0x59A
#define MADERA_AIF3_FORCE_WRITE				0x59B
#define MADERA_AIF4_BCLK_CTRL				0x5A0
#define MADERA_AIF4_TX_PIN_CTRL				0x5A1
#define MADERA_AIF4_RX_PIN_CTRL				0x5A2
#define MADERA_AIF4_RATE_CTRL				0x5A3
#define MADERA_AIF4_FORMAT				0x5A4
#define MADERA_AIF4_RX_BCLK_RATE			0x5A6
#define MADERA_AIF4_FRAME_CTRL_1			0x5A7
#define MADERA_AIF4_FRAME_CTRL_2			0x5A8
#define MADERA_AIF4_FRAME_CTRL_3			0x5A9
#define MADERA_AIF4_FRAME_CTRL_4			0x5AA
#define MADERA_AIF4_FRAME_CTRL_11			0x5B1
#define MADERA_AIF4_FRAME_CTRL_12			0x5B2
#define MADERA_AIF4_TX_ENABLES				0x5B9
#define MADERA_AIF4_RX_ENABLES				0x5BA
#define MADERA_AIF4_FORCE_WRITE				0x5BB
#define MADERA_SPD1_TX_CONTROL				0x5C2
#define MADERA_SPD1_TX_CHANNEL_STATUS_1			0x5C3
#define MADERA_SPD1_TX_CHANNEL_STATUS_2			0x5C4
#define MADERA_SPD1_TX_CHANNEL_STATUS_3			0x5C5
#define MADERA_SLIMBUS_FRAMER_REF_GEAR			0x5E3
#define MADERA_SLIMBUS_RATES_1				0x5E5
#define MADERA_SLIMBUS_RATES_2				0x5E6
#define MADERA_SLIMBUS_RATES_3				0x5E7
#define MADERA_SLIMBUS_RATES_4				0x5E8
#define MADERA_SLIMBUS_RATES_5				0x5E9
#define MADERA_SLIMBUS_RATES_6				0x5EA
#define MADERA_SLIMBUS_RATES_7				0x5EB
#define MADERA_SLIMBUS_RATES_8				0x5EC
#define MADERA_SLIMBUS_RX_CHANNEL_ENABLE		0x5F5
#define MADERA_SLIMBUS_TX_CHANNEL_ENABLE		0x5F6
#define MADERA_SLIMBUS_RX_PORT_STATUS			0x5F7
#define MADERA_SLIMBUS_TX_PORT_STATUS			0x5F8
#define MADERA_PWM1MIX_INPUT_1_SOURCE			0x640
#define MADERA_PWM1MIX_INPUT_1_VOLUME			0x641
#define MADERA_PWM1MIX_INPUT_2_SOURCE			0x642
#define MADERA_PWM1MIX_INPUT_2_VOLUME			0x643
#define MADERA_PWM1MIX_INPUT_3_SOURCE			0x644
#define MADERA_PWM1MIX_INPUT_3_VOLUME			0x645
#define MADERA_PWM1MIX_INPUT_4_SOURCE			0x646
#define MADERA_PWM1MIX_INPUT_4_VOLUME			0x647
#define MADERA_PWM2MIX_INPUT_1_SOURCE			0x648
#define MADERA_PWM2MIX_INPUT_1_VOLUME			0x649
#define MADERA_PWM2MIX_INPUT_2_SOURCE			0x64A
#define MADERA_PWM2MIX_INPUT_2_VOLUME			0x64B
#define MADERA_PWM2MIX_INPUT_3_SOURCE			0x64C
#define MADERA_PWM2MIX_INPUT_3_VOLUME			0x64D
#define MADERA_PWM2MIX_INPUT_4_SOURCE			0x64E
#define MADERA_PWM2MIX_INPUT_4_VOLUME			0x64F
#define MADERA_OUT1LMIX_INPUT_1_SOURCE			0x680
#define MADERA_OUT1LMIX_INPUT_1_VOLUME			0x681
#define MADERA_OUT1LMIX_INPUT_2_SOURCE			0x682
#define MADERA_OUT1LMIX_INPUT_2_VOLUME			0x683
#define MADERA_OUT1LMIX_INPUT_3_SOURCE			0x684
#define MADERA_OUT1LMIX_INPUT_3_VOLUME			0x685
#define MADERA_OUT1LMIX_INPUT_4_SOURCE			0x686
#define MADERA_OUT1LMIX_INPUT_4_VOLUME			0x687
#define MADERA_OUT1RMIX_INPUT_1_SOURCE			0x688
#define MADERA_OUT1RMIX_INPUT_1_VOLUME			0x689
#define MADERA_OUT1RMIX_INPUT_2_SOURCE			0x68A
#define MADERA_OUT1RMIX_INPUT_2_VOLUME			0x68B
#define MADERA_OUT1RMIX_INPUT_3_SOURCE			0x68C
#define MADERA_OUT1RMIX_INPUT_3_VOLUME			0x68D
#define MADERA_OUT1RMIX_INPUT_4_SOURCE			0x68E
#define MADERA_OUT1RMIX_INPUT_4_VOLUME			0x68F
#define MADERA_OUT2LMIX_INPUT_1_SOURCE			0x690
#define MADERA_OUT2LMIX_INPUT_1_VOLUME			0x691
#define MADERA_OUT2LMIX_INPUT_2_SOURCE			0x692
#define MADERA_OUT2LMIX_INPUT_2_VOLUME			0x693
#define MADERA_OUT2LMIX_INPUT_3_SOURCE			0x694
#define MADERA_OUT2LMIX_INPUT_3_VOLUME			0x695
#define MADERA_OUT2LMIX_INPUT_4_SOURCE			0x696
#define MADERA_OUT2LMIX_INPUT_4_VOLUME			0x697
#define MADERA_OUT2RMIX_INPUT_1_SOURCE			0x698
#define MADERA_OUT2RMIX_INPUT_1_VOLUME			0x699
#define MADERA_OUT2RMIX_INPUT_2_SOURCE			0x69A
#define MADERA_OUT2RMIX_INPUT_2_VOLUME			0x69B
#define MADERA_OUT2RMIX_INPUT_3_SOURCE			0x69C
#define MADERA_OUT2RMIX_INPUT_3_VOLUME			0x69D
#define MADERA_OUT2RMIX_INPUT_4_SOURCE			0x69E
#define MADERA_OUT2RMIX_INPUT_4_VOLUME			0x69F
#define MADERA_OUT3LMIX_INPUT_1_SOURCE			0x6A0
#define MADERA_OUT3LMIX_INPUT_1_VOLUME			0x6A1
#define MADERA_OUT3LMIX_INPUT_2_SOURCE			0x6A2
#define MADERA_OUT3LMIX_INPUT_2_VOLUME			0x6A3
#define MADERA_OUT3LMIX_INPUT_3_SOURCE			0x6A4
#define MADERA_OUT3LMIX_INPUT_3_VOLUME			0x6A5
#define MADERA_OUT3LMIX_INPUT_4_SOURCE			0x6A6
#define MADERA_OUT3LMIX_INPUT_4_VOLUME			0x6A7
#define MADERA_OUT3RMIX_INPUT_1_SOURCE			0x6A8
#define MADERA_OUT3RMIX_INPUT_1_VOLUME			0x6A9
#define MADERA_OUT3RMIX_INPUT_2_SOURCE			0x6AA
#define MADERA_OUT3RMIX_INPUT_2_VOLUME			0x6AB
#define MADERA_OUT3RMIX_INPUT_3_SOURCE			0x6AC
#define MADERA_OUT3RMIX_INPUT_3_VOLUME			0x6AD
#define MADERA_OUT3RMIX_INPUT_4_SOURCE			0x6AE
#define MADERA_OUT3RMIX_INPUT_4_VOLUME			0x6AF
#define MADERA_OUT4LMIX_INPUT_1_SOURCE			0x6B0
#define MADERA_OUT4LMIX_INPUT_1_VOLUME			0x6B1
#define MADERA_OUT4LMIX_INPUT_2_SOURCE			0x6B2
#define MADERA_OUT4LMIX_INPUT_2_VOLUME			0x6B3
#define MADERA_OUT4LMIX_INPUT_3_SOURCE			0x6B4
#define MADERA_OUT4LMIX_INPUT_3_VOLUME			0x6B5
#define MADERA_OUT4LMIX_INPUT_4_SOURCE			0x6B6
#define MADERA_OUT4LMIX_INPUT_4_VOLUME			0x6B7
#define MADERA_OUT4RMIX_INPUT_1_SOURCE			0x6B8
#define MADERA_OUT4RMIX_INPUT_1_VOLUME			0x6B9
#define MADERA_OUT4RMIX_INPUT_2_SOURCE			0x6BA
#define MADERA_OUT4RMIX_INPUT_2_VOLUME			0x6BB
#define MADERA_OUT4RMIX_INPUT_3_SOURCE			0x6BC
#define MADERA_OUT4RMIX_INPUT_3_VOLUME			0x6BD
#define MADERA_OUT4RMIX_INPUT_4_SOURCE			0x6BE
#define MADERA_OUT4RMIX_INPUT_4_VOLUME			0x6BF
#define MADERA_OUT5LMIX_INPUT_1_SOURCE			0x6C0
#define MADERA_OUT5LMIX_INPUT_1_VOLUME			0x6C1
#define MADERA_OUT5LMIX_INPUT_2_SOURCE			0x6C2
#define MADERA_OUT5LMIX_INPUT_2_VOLUME			0x6C3
#define MADERA_OUT5LMIX_INPUT_3_SOURCE			0x6C4
#define MADERA_OUT5LMIX_INPUT_3_VOLUME			0x6C5
#define MADERA_OUT5LMIX_INPUT_4_SOURCE			0x6C6
#define MADERA_OUT5LMIX_INPUT_4_VOLUME			0x6C7
#define MADERA_OUT5RMIX_INPUT_1_SOURCE			0x6C8
#define MADERA_OUT5RMIX_INPUT_1_VOLUME			0x6C9
#define MADERA_OUT5RMIX_INPUT_2_SOURCE			0x6CA
#define MADERA_OUT5RMIX_INPUT_2_VOLUME			0x6CB
#define MADERA_OUT5RMIX_INPUT_3_SOURCE			0x6CC
#define MADERA_OUT5RMIX_INPUT_3_VOLUME			0x6CD
#define MADERA_OUT5RMIX_INPUT_4_SOURCE			0x6CE
#define MADERA_OUT5RMIX_INPUT_4_VOLUME			0x6CF
#define MADERA_OUT6LMIX_INPUT_1_SOURCE			0x6D0
#define MADERA_OUT6LMIX_INPUT_1_VOLUME			0x6D1
#define MADERA_OUT6LMIX_INPUT_2_SOURCE			0x6D2
#define MADERA_OUT6LMIX_INPUT_2_VOLUME			0x6D3
#define MADERA_OUT6LMIX_INPUT_3_SOURCE			0x6D4
#define MADERA_OUT6LMIX_INPUT_3_VOLUME			0x6D5
#define MADERA_OUT6LMIX_INPUT_4_SOURCE			0x6D6
#define MADERA_OUT6LMIX_INPUT_4_VOLUME			0x6D7
#define MADERA_OUT6RMIX_INPUT_1_SOURCE			0x6D8
#define MADERA_OUT6RMIX_INPUT_1_VOLUME			0x6D9
#define MADERA_OUT6RMIX_INPUT_2_SOURCE			0x6DA
#define MADERA_OUT6RMIX_INPUT_2_VOLUME			0x6DB
#define MADERA_OUT6RMIX_INPUT_3_SOURCE			0x6DC
#define MADERA_OUT6RMIX_INPUT_3_VOLUME			0x6DD
#define MADERA_OUT6RMIX_INPUT_4_SOURCE			0x6DE
#define MADERA_OUT6RMIX_INPUT_4_VOLUME			0x6DF
#define MADERA_AIF1TX1MIX_INPUT_1_SOURCE		0x700
#define MADERA_AIF1TX1MIX_INPUT_1_VOLUME		0x701
#define MADERA_AIF1TX1MIX_INPUT_2_SOURCE		0x702
#define MADERA_AIF1TX1MIX_INPUT_2_VOLUME		0x703
#define MADERA_AIF1TX1MIX_INPUT_3_SOURCE		0x704
#define MADERA_AIF1TX1MIX_INPUT_3_VOLUME		0x705
#define MADERA_AIF1TX1MIX_INPUT_4_SOURCE		0x706
#define MADERA_AIF1TX1MIX_INPUT_4_VOLUME		0x707
#define MADERA_AIF1TX2MIX_INPUT_1_SOURCE		0x708
#define MADERA_AIF1TX2MIX_INPUT_1_VOLUME		0x709
#define MADERA_AIF1TX2MIX_INPUT_2_SOURCE		0x70A
#define MADERA_AIF1TX2MIX_INPUT_2_VOLUME		0x70B
#define MADERA_AIF1TX2MIX_INPUT_3_SOURCE		0x70C
#define MADERA_AIF1TX2MIX_INPUT_3_VOLUME		0x70D
#define MADERA_AIF1TX2MIX_INPUT_4_SOURCE		0x70E
#define MADERA_AIF1TX2MIX_INPUT_4_VOLUME		0x70F
#define MADERA_AIF1TX3MIX_INPUT_1_SOURCE		0x710
#define MADERA_AIF1TX3MIX_INPUT_1_VOLUME		0x711
#define MADERA_AIF1TX3MIX_INPUT_2_SOURCE		0x712
#define MADERA_AIF1TX3MIX_INPUT_2_VOLUME		0x713
#define MADERA_AIF1TX3MIX_INPUT_3_SOURCE		0x714
#define MADERA_AIF1TX3MIX_INPUT_3_VOLUME		0x715
#define MADERA_AIF1TX3MIX_INPUT_4_SOURCE		0x716
#define MADERA_AIF1TX3MIX_INPUT_4_VOLUME		0x717
#define MADERA_AIF1TX4MIX_INPUT_1_SOURCE		0x718
#define MADERA_AIF1TX4MIX_INPUT_1_VOLUME		0x719
#define MADERA_AIF1TX4MIX_INPUT_2_SOURCE		0x71A
#define MADERA_AIF1TX4MIX_INPUT_2_VOLUME		0x71B
#define MADERA_AIF1TX4MIX_INPUT_3_SOURCE		0x71C
#define MADERA_AIF1TX4MIX_INPUT_3_VOLUME		0x71D
#define MADERA_AIF1TX4MIX_INPUT_4_SOURCE		0x71E
#define MADERA_AIF1TX4MIX_INPUT_4_VOLUME		0x71F
#define MADERA_AIF1TX5MIX_INPUT_1_SOURCE		0x720
#define MADERA_AIF1TX5MIX_INPUT_1_VOLUME		0x721
#define MADERA_AIF1TX5MIX_INPUT_2_SOURCE		0x722
#define MADERA_AIF1TX5MIX_INPUT_2_VOLUME		0x723
#define MADERA_AIF1TX5MIX_INPUT_3_SOURCE		0x724
#define MADERA_AIF1TX5MIX_INPUT_3_VOLUME		0x725
#define MADERA_AIF1TX5MIX_INPUT_4_SOURCE		0x726
#define MADERA_AIF1TX5MIX_INPUT_4_VOLUME		0x727
#define MADERA_AIF1TX6MIX_INPUT_1_SOURCE		0x728
#define MADERA_AIF1TX6MIX_INPUT_1_VOLUME		0x729
#define MADERA_AIF1TX6MIX_INPUT_2_SOURCE		0x72A
#define MADERA_AIF1TX6MIX_INPUT_2_VOLUME		0x72B
#define MADERA_AIF1TX6MIX_INPUT_3_SOURCE		0x72C
#define MADERA_AIF1TX6MIX_INPUT_3_VOLUME		0x72D
#define MADERA_AIF1TX6MIX_INPUT_4_SOURCE		0x72E
#define MADERA_AIF1TX6MIX_INPUT_4_VOLUME		0x72F
#define MADERA_AIF1TX7MIX_INPUT_1_SOURCE		0x730
#define MADERA_AIF1TX7MIX_INPUT_1_VOLUME		0x731
#define MADERA_AIF1TX7MIX_INPUT_2_SOURCE		0x732
#define MADERA_AIF1TX7MIX_INPUT_2_VOLUME		0x733
#define MADERA_AIF1TX7MIX_INPUT_3_SOURCE		0x734
#define MADERA_AIF1TX7MIX_INPUT_3_VOLUME		0x735
#define MADERA_AIF1TX7MIX_INPUT_4_SOURCE		0x736
#define MADERA_AIF1TX7MIX_INPUT_4_VOLUME		0x737
#define MADERA_AIF1TX8MIX_INPUT_1_SOURCE		0x738
#define MADERA_AIF1TX8MIX_INPUT_1_VOLUME		0x739
#define MADERA_AIF1TX8MIX_INPUT_2_SOURCE		0x73A
#define MADERA_AIF1TX8MIX_INPUT_2_VOLUME		0x73B
#define MADERA_AIF1TX8MIX_INPUT_3_SOURCE		0x73C
#define MADERA_AIF1TX8MIX_INPUT_3_VOLUME		0x73D
#define MADERA_AIF1TX8MIX_INPUT_4_SOURCE		0x73E
#define MADERA_AIF1TX8MIX_INPUT_4_VOLUME		0x73F
#define MADERA_AIF2TX1MIX_INPUT_1_SOURCE		0x740
#define MADERA_AIF2TX1MIX_INPUT_1_VOLUME		0x741
#define MADERA_AIF2TX1MIX_INPUT_2_SOURCE		0x742
#define MADERA_AIF2TX1MIX_INPUT_2_VOLUME		0x743
#define MADERA_AIF2TX1MIX_INPUT_3_SOURCE		0x744
#define MADERA_AIF2TX1MIX_INPUT_3_VOLUME		0x745
#define MADERA_AIF2TX1MIX_INPUT_4_SOURCE		0x746
#define MADERA_AIF2TX1MIX_INPUT_4_VOLUME		0x747
#define MADERA_AIF2TX2MIX_INPUT_1_SOURCE		0x748
#define MADERA_AIF2TX2MIX_INPUT_1_VOLUME		0x749
#define MADERA_AIF2TX2MIX_INPUT_2_SOURCE		0x74A
#define MADERA_AIF2TX2MIX_INPUT_2_VOLUME		0x74B
#define MADERA_AIF2TX2MIX_INPUT_3_SOURCE		0x74C
#define MADERA_AIF2TX2MIX_INPUT_3_VOLUME		0x74D
#define MADERA_AIF2TX2MIX_INPUT_4_SOURCE		0x74E
#define MADERA_AIF2TX2MIX_INPUT_4_VOLUME		0x74F
#define MADERA_AIF2TX3MIX_INPUT_1_SOURCE		0x750
#define MADERA_AIF2TX3MIX_INPUT_1_VOLUME		0x751
#define MADERA_AIF2TX3MIX_INPUT_2_SOURCE		0x752
#define MADERA_AIF2TX3MIX_INPUT_2_VOLUME		0x753
#define MADERA_AIF2TX3MIX_INPUT_3_SOURCE		0x754
#define MADERA_AIF2TX3MIX_INPUT_3_VOLUME		0x755
#define MADERA_AIF2TX3MIX_INPUT_4_SOURCE		0x756
#define MADERA_AIF2TX3MIX_INPUT_4_VOLUME		0x757
#define MADERA_AIF2TX4MIX_INPUT_1_SOURCE		0x758
#define MADERA_AIF2TX4MIX_INPUT_1_VOLUME		0x759
#define MADERA_AIF2TX4MIX_INPUT_2_SOURCE		0x75A
#define MADERA_AIF2TX4MIX_INPUT_2_VOLUME		0x75B
#define MADERA_AIF2TX4MIX_INPUT_3_SOURCE		0x75C
#define MADERA_AIF2TX4MIX_INPUT_3_VOLUME		0x75D
#define MADERA_AIF2TX4MIX_INPUT_4_SOURCE		0x75E
#define MADERA_AIF2TX4MIX_INPUT_4_VOLUME		0x75F
#define MADERA_AIF2TX5MIX_INPUT_1_SOURCE		0x760
#define MADERA_AIF2TX5MIX_INPUT_1_VOLUME		0x761
#define MADERA_AIF2TX5MIX_INPUT_2_SOURCE		0x762
#define MADERA_AIF2TX5MIX_INPUT_2_VOLUME		0x763
#define MADERA_AIF2TX5MIX_INPUT_3_SOURCE		0x764
#define MADERA_AIF2TX5MIX_INPUT_3_VOLUME		0x765
#define MADERA_AIF2TX5MIX_INPUT_4_SOURCE		0x766
#define MADERA_AIF2TX5MIX_INPUT_4_VOLUME		0x767
#define MADERA_AIF2TX6MIX_INPUT_1_SOURCE		0x768
#define MADERA_AIF2TX6MIX_INPUT_1_VOLUME		0x769
#define MADERA_AIF2TX6MIX_INPUT_2_SOURCE		0x76A
#define MADERA_AIF2TX6MIX_INPUT_2_VOLUME		0x76B
#define MADERA_AIF2TX6MIX_INPUT_3_SOURCE		0x76C
#define MADERA_AIF2TX6MIX_INPUT_3_VOLUME		0x76D
#define MADERA_AIF2TX6MIX_INPUT_4_SOURCE		0x76E
#define MADERA_AIF2TX6MIX_INPUT_4_VOLUME		0x76F
#define MADERA_AIF2TX7MIX_INPUT_1_SOURCE		0x770
#define MADERA_AIF2TX7MIX_INPUT_1_VOLUME		0x771
#define MADERA_AIF2TX7MIX_INPUT_2_SOURCE		0x772
#define MADERA_AIF2TX7MIX_INPUT_2_VOLUME		0x773
#define MADERA_AIF2TX7MIX_INPUT_3_SOURCE		0x774
#define MADERA_AIF2TX7MIX_INPUT_3_VOLUME		0x775
#define MADERA_AIF2TX7MIX_INPUT_4_SOURCE		0x776
#define MADERA_AIF2TX7MIX_INPUT_4_VOLUME		0x777
#define MADERA_AIF2TX8MIX_INPUT_1_SOURCE		0x778
#define MADERA_AIF2TX8MIX_INPUT_1_VOLUME		0x779
#define MADERA_AIF2TX8MIX_INPUT_2_SOURCE		0x77A
#define MADERA_AIF2TX8MIX_INPUT_2_VOLUME		0x77B
#define MADERA_AIF2TX8MIX_INPUT_3_SOURCE		0x77C
#define MADERA_AIF2TX8MIX_INPUT_3_VOLUME		0x77D
#define MADERA_AIF2TX8MIX_INPUT_4_SOURCE		0x77E
#define MADERA_AIF2TX8MIX_INPUT_4_VOLUME		0x77F
#define MADERA_AIF3TX1MIX_INPUT_1_SOURCE		0x780
#define MADERA_AIF3TX1MIX_INPUT_1_VOLUME		0x781
#define MADERA_AIF3TX1MIX_INPUT_2_SOURCE		0x782
#define MADERA_AIF3TX1MIX_INPUT_2_VOLUME		0x783
#define MADERA_AIF3TX1MIX_INPUT_3_SOURCE		0x784
#define MADERA_AIF3TX1MIX_INPUT_3_VOLUME		0x785
#define MADERA_AIF3TX1MIX_INPUT_4_SOURCE		0x786
#define MADERA_AIF3TX1MIX_INPUT_4_VOLUME		0x787
#define MADERA_AIF3TX2MIX_INPUT_1_SOURCE		0x788
#define MADERA_AIF3TX2MIX_INPUT_1_VOLUME		0x789
#define MADERA_AIF3TX2MIX_INPUT_2_SOURCE		0x78A
#define MADERA_AIF3TX2MIX_INPUT_2_VOLUME		0x78B
#define MADERA_AIF3TX2MIX_INPUT_3_SOURCE		0x78C
#define MADERA_AIF3TX2MIX_INPUT_3_VOLUME		0x78D
#define MADERA_AIF3TX2MIX_INPUT_4_SOURCE		0x78E
#define MADERA_AIF3TX2MIX_INPUT_4_VOLUME		0x78F
#define MADERA_AIF4TX1MIX_INPUT_1_SOURCE		0x7A0
#define MADERA_AIF4TX1MIX_INPUT_1_VOLUME		0x7A1
#define MADERA_AIF4TX1MIX_INPUT_2_SOURCE		0x7A2
#define MADERA_AIF4TX1MIX_INPUT_2_VOLUME		0x7A3
#define MADERA_AIF4TX1MIX_INPUT_3_SOURCE		0x7A4
#define MADERA_AIF4TX1MIX_INPUT_3_VOLUME		0x7A5
#define MADERA_AIF4TX1MIX_INPUT_4_SOURCE		0x7A6
#define MADERA_AIF4TX1MIX_INPUT_4_VOLUME		0x7A7
#define MADERA_AIF4TX2MIX_INPUT_1_SOURCE		0x7A8
#define MADERA_AIF4TX2MIX_INPUT_1_VOLUME		0x7A9
#define MADERA_AIF4TX2MIX_INPUT_2_SOURCE		0x7AA
#define MADERA_AIF4TX2MIX_INPUT_2_VOLUME		0x7AB
#define MADERA_AIF4TX2MIX_INPUT_3_SOURCE		0x7AC
#define MADERA_AIF4TX2MIX_INPUT_3_VOLUME		0x7AD
#define MADERA_AIF4TX2MIX_INPUT_4_SOURCE		0x7AE
#define MADERA_AIF4TX2MIX_INPUT_4_VOLUME		0x7AF
#define MADERA_SLIMTX1MIX_INPUT_1_SOURCE		0x7C0
#define MADERA_SLIMTX1MIX_INPUT_1_VOLUME		0x7C1
#define MADERA_SLIMTX1MIX_INPUT_2_SOURCE		0x7C2
#define MADERA_SLIMTX1MIX_INPUT_2_VOLUME		0x7C3
#define MADERA_SLIMTX1MIX_INPUT_3_SOURCE		0x7C4
#define MADERA_SLIMTX1MIX_INPUT_3_VOLUME		0x7C5
#define MADERA_SLIMTX1MIX_INPUT_4_SOURCE		0x7C6
#define MADERA_SLIMTX1MIX_INPUT_4_VOLUME		0x7C7
#define MADERA_SLIMTX2MIX_INPUT_1_SOURCE		0x7C8
#define MADERA_SLIMTX2MIX_INPUT_1_VOLUME		0x7C9
#define MADERA_SLIMTX2MIX_INPUT_2_SOURCE		0x7CA
#define MADERA_SLIMTX2MIX_INPUT_2_VOLUME		0x7CB
#define MADERA_SLIMTX2MIX_INPUT_3_SOURCE		0x7CC
#define MADERA_SLIMTX2MIX_INPUT_3_VOLUME		0x7CD
#define MADERA_SLIMTX2MIX_INPUT_4_SOURCE		0x7CE
#define MADERA_SLIMTX2MIX_INPUT_4_VOLUME		0x7CF
#define MADERA_SLIMTX3MIX_INPUT_1_SOURCE		0x7D0
#define MADERA_SLIMTX3MIX_INPUT_1_VOLUME		0x7D1
#define MADERA_SLIMTX3MIX_INPUT_2_SOURCE		0x7D2
#define MADERA_SLIMTX3MIX_INPUT_2_VOLUME		0x7D3
#define MADERA_SLIMTX3MIX_INPUT_3_SOURCE		0x7D4
#define MADERA_SLIMTX3MIX_INPUT_3_VOLUME		0x7D5
#define MADERA_SLIMTX3MIX_INPUT_4_SOURCE		0x7D6
#define MADERA_SLIMTX3MIX_INPUT_4_VOLUME		0x7D7
#define MADERA_SLIMTX4MIX_INPUT_1_SOURCE		0x7D8
#define MADERA_SLIMTX4MIX_INPUT_1_VOLUME		0x7D9
#define MADERA_SLIMTX4MIX_INPUT_2_SOURCE		0x7DA
#define MADERA_SLIMTX4MIX_INPUT_2_VOLUME		0x7DB
#define MADERA_SLIMTX4MIX_INPUT_3_SOURCE		0x7DC
#define MADERA_SLIMTX4MIX_INPUT_3_VOLUME		0x7DD
#define MADERA_SLIMTX4MIX_INPUT_4_SOURCE		0x7DE
#define MADERA_SLIMTX4MIX_INPUT_4_VOLUME		0x7DF
#define MADERA_SLIMTX5MIX_INPUT_1_SOURCE		0x7E0
#define MADERA_SLIMTX5MIX_INPUT_1_VOLUME		0x7E1
#define MADERA_SLIMTX5MIX_INPUT_2_SOURCE		0x7E2
#define MADERA_SLIMTX5MIX_INPUT_2_VOLUME		0x7E3
#define MADERA_SLIMTX5MIX_INPUT_3_SOURCE		0x7E4
#define MADERA_SLIMTX5MIX_INPUT_3_VOLUME		0x7E5
#define MADERA_SLIMTX5MIX_INPUT_4_SOURCE		0x7E6
#define MADERA_SLIMTX5MIX_INPUT_4_VOLUME		0x7E7
#define MADERA_SLIMTX6MIX_INPUT_1_SOURCE		0x7E8
#define MADERA_SLIMTX6MIX_INPUT_1_VOLUME		0x7E9
#define MADERA_SLIMTX6MIX_INPUT_2_SOURCE		0x7EA
#define MADERA_SLIMTX6MIX_INPUT_2_VOLUME		0x7EB
#define MADERA_SLIMTX6MIX_INPUT_3_SOURCE		0x7EC
#define MADERA_SLIMTX6MIX_INPUT_3_VOLUME		0x7ED
#define MADERA_SLIMTX6MIX_INPUT_4_SOURCE		0x7EE
#define MADERA_SLIMTX6MIX_INPUT_4_VOLUME		0x7EF
#define MADERA_SLIMTX7MIX_INPUT_1_SOURCE		0x7F0
#define MADERA_SLIMTX7MIX_INPUT_1_VOLUME		0x7F1
#define MADERA_SLIMTX7MIX_INPUT_2_SOURCE		0x7F2
#define MADERA_SLIMTX7MIX_INPUT_2_VOLUME		0x7F3
#define MADERA_SLIMTX7MIX_INPUT_3_SOURCE		0x7F4
#define MADERA_SLIMTX7MIX_INPUT_3_VOLUME		0x7F5
#define MADERA_SLIMTX7MIX_INPUT_4_SOURCE		0x7F6
#define MADERA_SLIMTX7MIX_INPUT_4_VOLUME		0x7F7
#define MADERA_SLIMTX8MIX_INPUT_1_SOURCE		0x7F8
#define MADERA_SLIMTX8MIX_INPUT_1_VOLUME		0x7F9
#define MADERA_SLIMTX8MIX_INPUT_2_SOURCE		0x7FA
#define MADERA_SLIMTX8MIX_INPUT_2_VOLUME		0x7FB
#define MADERA_SLIMTX8MIX_INPUT_3_SOURCE		0x7FC
#define MADERA_SLIMTX8MIX_INPUT_3_VOLUME		0x7FD
#define MADERA_SLIMTX8MIX_INPUT_4_SOURCE		0x7FE
#define MADERA_SLIMTX8MIX_INPUT_4_VOLUME		0x7FF
#define MADERA_SPDIF1TX1MIX_INPUT_1_SOURCE		0x800
#define MADERA_SPDIF1TX1MIX_INPUT_1_VOLUME		0x801
#define MADERA_SPDIF1TX2MIX_INPUT_1_SOURCE		0x808
#define MADERA_SPDIF1TX2MIX_INPUT_1_VOLUME		0x809
#define MADERA_EQ1MIX_INPUT_1_SOURCE			0x880
#define MADERA_EQ1MIX_INPUT_1_VOLUME			0x881
#define MADERA_EQ1MIX_INPUT_2_SOURCE			0x882
#define MADERA_EQ1MIX_INPUT_2_VOLUME			0x883
#define MADERA_EQ1MIX_INPUT_3_SOURCE			0x884
#define MADERA_EQ1MIX_INPUT_3_VOLUME			0x885
#define MADERA_EQ1MIX_INPUT_4_SOURCE			0x886
#define MADERA_EQ1MIX_INPUT_4_VOLUME			0x887
#define MADERA_EQ2MIX_INPUT_1_SOURCE			0x888
#define MADERA_EQ2MIX_INPUT_1_VOLUME			0x889
#define MADERA_EQ2MIX_INPUT_2_SOURCE			0x88A
#define MADERA_EQ2MIX_INPUT_2_VOLUME			0x88B
#define MADERA_EQ2MIX_INPUT_3_SOURCE			0x88C
#define MADERA_EQ2MIX_INPUT_3_VOLUME			0x88D
#define MADERA_EQ2MIX_INPUT_4_SOURCE			0x88E
#define MADERA_EQ2MIX_INPUT_4_VOLUME			0x88F
#define MADERA_EQ3MIX_INPUT_1_SOURCE			0x890
#define MADERA_EQ3MIX_INPUT_1_VOLUME			0x891
#define MADERA_EQ3MIX_INPUT_2_SOURCE			0x892
#define MADERA_EQ3MIX_INPUT_2_VOLUME			0x893
#define MADERA_EQ3MIX_INPUT_3_SOURCE			0x894
#define MADERA_EQ3MIX_INPUT_3_VOLUME			0x895
#define MADERA_EQ3MIX_INPUT_4_SOURCE			0x896
#define MADERA_EQ3MIX_INPUT_4_VOLUME			0x897
#define MADERA_EQ4MIX_INPUT_1_SOURCE			0x898
#define MADERA_EQ4MIX_INPUT_1_VOLUME			0x899
#define MADERA_EQ4MIX_INPUT_2_SOURCE			0x89A
#define MADERA_EQ4MIX_INPUT_2_VOLUME			0x89B
#define MADERA_EQ4MIX_INPUT_3_SOURCE			0x89C
#define MADERA_EQ4MIX_INPUT_3_VOLUME			0x89D
#define MADERA_EQ4MIX_INPUT_4_SOURCE			0x89E
#define MADERA_EQ4MIX_INPUT_4_VOLUME			0x89F
#define MADERA_DRC1LMIX_INPUT_1_SOURCE			0x8C0
#define MADERA_DRC1LMIX_INPUT_1_VOLUME			0x8C1
#define MADERA_DRC1LMIX_INPUT_2_SOURCE			0x8C2
#define MADERA_DRC1LMIX_INPUT_2_VOLUME			0x8C3
#define MADERA_DRC1LMIX_INPUT_3_SOURCE			0x8C4
#define MADERA_DRC1LMIX_INPUT_3_VOLUME			0x8C5
#define MADERA_DRC1LMIX_INPUT_4_SOURCE			0x8C6
#define MADERA_DRC1LMIX_INPUT_4_VOLUME			0x8C7
#define MADERA_DRC1RMIX_INPUT_1_SOURCE			0x8C8
#define MADERA_DRC1RMIX_INPUT_1_VOLUME			0x8C9
#define MADERA_DRC1RMIX_INPUT_2_SOURCE			0x8CA
#define MADERA_DRC1RMIX_INPUT_2_VOLUME			0x8CB
#define MADERA_DRC1RMIX_INPUT_3_SOURCE			0x8CC
#define MADERA_DRC1RMIX_INPUT_3_VOLUME			0x8CD
#define MADERA_DRC1RMIX_INPUT_4_SOURCE			0x8CE
#define MADERA_DRC1RMIX_INPUT_4_VOLUME			0x8CF
#define MADERA_DRC2LMIX_INPUT_1_SOURCE			0x8D0
#define MADERA_DRC2LMIX_INPUT_1_VOLUME			0x8D1
#define MADERA_DRC2LMIX_INPUT_2_SOURCE			0x8D2
#define MADERA_DRC2LMIX_INPUT_2_VOLUME			0x8D3
#define MADERA_DRC2LMIX_INPUT_3_SOURCE			0x8D4
#define MADERA_DRC2LMIX_INPUT_3_VOLUME			0x8D5
#define MADERA_DRC2LMIX_INPUT_4_SOURCE			0x8D6
#define MADERA_DRC2LMIX_INPUT_4_VOLUME			0x8D7
#define MADERA_DRC2RMIX_INPUT_1_SOURCE			0x8D8
#define MADERA_DRC2RMIX_INPUT_1_VOLUME			0x8D9
#define MADERA_DRC2RMIX_INPUT_2_SOURCE			0x8DA
#define MADERA_DRC2RMIX_INPUT_2_VOLUME			0x8DB
#define MADERA_DRC2RMIX_INPUT_3_SOURCE			0x8DC
#define MADERA_DRC2RMIX_INPUT_3_VOLUME			0x8DD
#define MADERA_DRC2RMIX_INPUT_4_SOURCE			0x8DE
#define MADERA_DRC2RMIX_INPUT_4_VOLUME			0x8DF
#define MADERA_HPLP1MIX_INPUT_1_SOURCE			0x900
#define MADERA_HPLP1MIX_INPUT_1_VOLUME			0x901
#define MADERA_HPLP1MIX_INPUT_2_SOURCE			0x902
#define MADERA_HPLP1MIX_INPUT_2_VOLUME			0x903
#define MADERA_HPLP1MIX_INPUT_3_SOURCE			0x904
#define MADERA_HPLP1MIX_INPUT_3_VOLUME			0x905
#define MADERA_HPLP1MIX_INPUT_4_SOURCE			0x906
#define MADERA_HPLP1MIX_INPUT_4_VOLUME			0x907
#define MADERA_HPLP2MIX_INPUT_1_SOURCE			0x908
#define MADERA_HPLP2MIX_INPUT_1_VOLUME			0x909
#define MADERA_HPLP2MIX_INPUT_2_SOURCE			0x90A
#define MADERA_HPLP2MIX_INPUT_2_VOLUME			0x90B
#define MADERA_HPLP2MIX_INPUT_3_SOURCE			0x90C
#define MADERA_HPLP2MIX_INPUT_3_VOLUME			0x90D
#define MADERA_HPLP2MIX_INPUT_4_SOURCE			0x90E
#define MADERA_HPLP2MIX_INPUT_4_VOLUME			0x90F
#define MADERA_HPLP3MIX_INPUT_1_SOURCE			0x910
#define MADERA_HPLP3MIX_INPUT_1_VOLUME			0x911
#define MADERA_HPLP3MIX_INPUT_2_SOURCE			0x912
#define MADERA_HPLP3MIX_INPUT_2_VOLUME			0x913
#define MADERA_HPLP3MIX_INPUT_3_SOURCE			0x914
#define MADERA_HPLP3MIX_INPUT_3_VOLUME			0x915
#define MADERA_HPLP3MIX_INPUT_4_SOURCE			0x916
#define MADERA_HPLP3MIX_INPUT_4_VOLUME			0x917
#define MADERA_HPLP4MIX_INPUT_1_SOURCE			0x918
#define MADERA_HPLP4MIX_INPUT_1_VOLUME			0x919
#define MADERA_HPLP4MIX_INPUT_2_SOURCE			0x91A
#define MADERA_HPLP4MIX_INPUT_2_VOLUME			0x91B
#define MADERA_HPLP4MIX_INPUT_3_SOURCE			0x91C
#define MADERA_HPLP4MIX_INPUT_3_VOLUME			0x91D
#define MADERA_HPLP4MIX_INPUT_4_SOURCE			0x91E
#define MADERA_HPLP4MIX_INPUT_4_VOLUME			0x91F
#define MADERA_DSP1LMIX_INPUT_1_SOURCE			0x940
#define MADERA_DSP1LMIX_INPUT_1_VOLUME			0x941
#define MADERA_DSP1LMIX_INPUT_2_SOURCE			0x942
#define MADERA_DSP1LMIX_INPUT_2_VOLUME			0x943
#define MADERA_DSP1LMIX_INPUT_3_SOURCE			0x944
#define MADERA_DSP1LMIX_INPUT_3_VOLUME			0x945
#define MADERA_DSP1LMIX_INPUT_4_SOURCE			0x946
#define MADERA_DSP1LMIX_INPUT_4_VOLUME			0x947
#define MADERA_DSP1RMIX_INPUT_1_SOURCE			0x948
#define MADERA_DSP1RMIX_INPUT_1_VOLUME			0x949
#define MADERA_DSP1RMIX_INPUT_2_SOURCE			0x94A
#define MADERA_DSP1RMIX_INPUT_2_VOLUME			0x94B
#define MADERA_DSP1RMIX_INPUT_3_SOURCE			0x94C
#define MADERA_DSP1RMIX_INPUT_3_VOLUME			0x94D
#define MADERA_DSP1RMIX_INPUT_4_SOURCE			0x94E
#define MADERA_DSP1RMIX_INPUT_4_VOLUME			0x94F
#define MADERA_DSP1AUX1MIX_INPUT_1_SOURCE		0x950
#define MADERA_DSP1AUX2MIX_INPUT_1_SOURCE		0x958
#define MADERA_DSP1AUX3MIX_INPUT_1_SOURCE		0x960
#define MADERA_DSP1AUX4MIX_INPUT_1_SOURCE		0x968
#define MADERA_DSP1AUX5MIX_INPUT_1_SOURCE		0x970
#define MADERA_DSP1AUX6MIX_INPUT_1_SOURCE		0x978
#define MADERA_DSP2LMIX_INPUT_1_SOURCE			0x980
#define MADERA_DSP2LMIX_INPUT_1_VOLUME			0x981
#define MADERA_DSP2LMIX_INPUT_2_SOURCE			0x982
#define MADERA_DSP2LMIX_INPUT_2_VOLUME			0x983
#define MADERA_DSP2LMIX_INPUT_3_SOURCE			0x984
#define MADERA_DSP2LMIX_INPUT_3_VOLUME			0x985
#define MADERA_DSP2LMIX_INPUT_4_SOURCE			0x986
#define MADERA_DSP2LMIX_INPUT_4_VOLUME			0x987
#define MADERA_DSP2RMIX_INPUT_1_SOURCE			0x988
#define MADERA_DSP2RMIX_INPUT_1_VOLUME			0x989
#define MADERA_DSP2RMIX_INPUT_2_SOURCE			0x98A
#define MADERA_DSP2RMIX_INPUT_2_VOLUME			0x98B
#define MADERA_DSP2RMIX_INPUT_3_SOURCE			0x98C
#define MADERA_DSP2RMIX_INPUT_3_VOLUME			0x98D
#define MADERA_DSP2RMIX_INPUT_4_SOURCE			0x98E
#define MADERA_DSP2RMIX_INPUT_4_VOLUME			0x98F
#define MADERA_DSP2AUX1MIX_INPUT_1_SOURCE		0x990
#define MADERA_DSP2AUX2MIX_INPUT_1_SOURCE		0x998
#define MADERA_DSP2AUX3MIX_INPUT_1_SOURCE		0x9A0
#define MADERA_DSP2AUX4MIX_INPUT_1_SOURCE		0x9A8
#define MADERA_DSP2AUX5MIX_INPUT_1_SOURCE		0x9B0
#define MADERA_DSP2AUX6MIX_INPUT_1_SOURCE		0x9B8
#define MADERA_DSP3LMIX_INPUT_1_SOURCE			0x9C0
#define MADERA_DSP3LMIX_INPUT_1_VOLUME			0x9C1
#define MADERA_DSP3LMIX_INPUT_2_SOURCE			0x9C2
#define MADERA_DSP3LMIX_INPUT_2_VOLUME			0x9C3
#define MADERA_DSP3LMIX_INPUT_3_SOURCE			0x9C4
#define MADERA_DSP3LMIX_INPUT_3_VOLUME			0x9C5
#define MADERA_DSP3LMIX_INPUT_4_SOURCE			0x9C6
#define MADERA_DSP3LMIX_INPUT_4_VOLUME			0x9C7
#define MADERA_DSP3RMIX_INPUT_1_SOURCE			0x9C8
#define MADERA_DSP3RMIX_INPUT_1_VOLUME			0x9C9
#define MADERA_DSP3RMIX_INPUT_2_SOURCE			0x9CA
#define MADERA_DSP3RMIX_INPUT_2_VOLUME			0x9CB
#define MADERA_DSP3RMIX_INPUT_3_SOURCE			0x9CC
#define MADERA_DSP3RMIX_INPUT_3_VOLUME			0x9CD
#define MADERA_DSP3RMIX_INPUT_4_SOURCE			0x9CE
#define MADERA_DSP3RMIX_INPUT_4_VOLUME			0x9CF
#define MADERA_DSP3AUX1MIX_INPUT_1_SOURCE		0x9D0
#define MADERA_DSP3AUX2MIX_INPUT_1_SOURCE		0x9D8
#define MADERA_DSP3AUX3MIX_INPUT_1_SOURCE		0x9E0
#define MADERA_DSP3AUX4MIX_INPUT_1_SOURCE		0x9E8
#define MADERA_DSP3AUX5MIX_INPUT_1_SOURCE		0x9F0
#define MADERA_DSP3AUX6MIX_INPUT_1_SOURCE		0x9F8
#define MADERA_DSP4LMIX_INPUT_1_SOURCE			0xA00
#define MADERA_DSP4LMIX_INPUT_1_VOLUME			0xA01
#define MADERA_DSP4LMIX_INPUT_2_SOURCE			0xA02
#define MADERA_DSP4LMIX_INPUT_2_VOLUME			0xA03
#define MADERA_DSP4LMIX_INPUT_3_SOURCE			0xA04
#define MADERA_DSP4LMIX_INPUT_3_VOLUME			0xA05
#define MADERA_DSP4LMIX_INPUT_4_SOURCE			0xA06
#define MADERA_DSP4LMIX_INPUT_4_VOLUME			0xA07
#define MADERA_DSP4RMIX_INPUT_1_SOURCE			0xA08
#define MADERA_DSP4RMIX_INPUT_1_VOLUME			0xA09
#define MADERA_DSP4RMIX_INPUT_2_SOURCE			0xA0A
#define MADERA_DSP4RMIX_INPUT_2_VOLUME			0xA0B
#define MADERA_DSP4RMIX_INPUT_3_SOURCE			0xA0C
#define MADERA_DSP4RMIX_INPUT_3_VOLUME			0xA0D
#define MADERA_DSP4RMIX_INPUT_4_SOURCE			0xA0E
#define MADERA_DSP4RMIX_INPUT_4_VOLUME			0xA0F
#define MADERA_DSP4AUX1MIX_INPUT_1_SOURCE		0xA10
#define MADERA_DSP4AUX2MIX_INPUT_1_SOURCE		0xA18
#define MADERA_DSP4AUX3MIX_INPUT_1_SOURCE		0xA20
#define MADERA_DSP4AUX4MIX_INPUT_1_SOURCE		0xA28
#define MADERA_DSP4AUX5MIX_INPUT_1_SOURCE		0xA30
#define MADERA_DSP4AUX6MIX_INPUT_1_SOURCE		0xA38
#define MADERA_DSP5LMIX_INPUT_1_SOURCE			0xA40
#define MADERA_DSP5LMIX_INPUT_1_VOLUME			0xA41
#define MADERA_DSP5LMIX_INPUT_2_SOURCE			0xA42
#define MADERA_DSP5LMIX_INPUT_2_VOLUME			0xA43
#define MADERA_DSP5LMIX_INPUT_3_SOURCE			0xA44
#define MADERA_DSP5LMIX_INPUT_3_VOLUME			0xA45
#define MADERA_DSP5LMIX_INPUT_4_SOURCE			0xA46
#define MADERA_DSP5LMIX_INPUT_4_VOLUME			0xA47
#define MADERA_DSP5RMIX_INPUT_1_SOURCE			0xA48
#define MADERA_DSP5RMIX_INPUT_1_VOLUME			0xA49
#define MADERA_DSP5RMIX_INPUT_2_SOURCE			0xA4A
#define MADERA_DSP5RMIX_INPUT_2_VOLUME			0xA4B
#define MADERA_DSP5RMIX_INPUT_3_SOURCE			0xA4C
#define MADERA_DSP5RMIX_INPUT_3_VOLUME			0xA4D
#define MADERA_DSP5RMIX_INPUT_4_SOURCE			0xA4E
#define MADERA_DSP5RMIX_INPUT_4_VOLUME			0xA4F
#define MADERA_DSP5AUX1MIX_INPUT_1_SOURCE		0xA50
#define MADERA_DSP5AUX2MIX_INPUT_1_SOURCE		0xA58
#define MADERA_DSP5AUX3MIX_INPUT_1_SOURCE		0xA60
#define MADERA_DSP5AUX4MIX_INPUT_1_SOURCE		0xA68
#define MADERA_DSP5AUX5MIX_INPUT_1_SOURCE		0xA70
#define MADERA_DSP5AUX6MIX_INPUT_1_SOURCE		0xA78
#define MADERA_ASRC1_1LMIX_INPUT_1_SOURCE		0xA80
#define MADERA_ASRC1_1RMIX_INPUT_1_SOURCE		0xA88
#define MADERA_ASRC1_2LMIX_INPUT_1_SOURCE		0xA90
#define MADERA_ASRC1_2RMIX_INPUT_1_SOURCE		0xA98
#define MADERA_ASRC2_1LMIX_INPUT_1_SOURCE		0xAA0
#define MADERA_ASRC2_1RMIX_INPUT_1_SOURCE		0xAA8
#define MADERA_ASRC2_2LMIX_INPUT_1_SOURCE		0xAB0
#define MADERA_ASRC2_2RMIX_INPUT_1_SOURCE		0xAB8
#define MADERA_ISRC1DEC1MIX_INPUT_1_SOURCE		0xB00
#define MADERA_ISRC1DEC2MIX_INPUT_1_SOURCE		0xB08
#define MADERA_ISRC1DEC3MIX_INPUT_1_SOURCE		0xB10
#define MADERA_ISRC1DEC4MIX_INPUT_1_SOURCE		0xB18
#define MADERA_ISRC1INT1MIX_INPUT_1_SOURCE		0xB20
#define MADERA_ISRC1INT2MIX_INPUT_1_SOURCE		0xB28
#define MADERA_ISRC1INT3MIX_INPUT_1_SOURCE		0xB30
#define MADERA_ISRC1INT4MIX_INPUT_1_SOURCE		0xB38
#define MADERA_ISRC2DEC1MIX_INPUT_1_SOURCE		0xB40
#define MADERA_ISRC2DEC2MIX_INPUT_1_SOURCE		0xB48
#define MADERA_ISRC2DEC3MIX_INPUT_1_SOURCE		0xB50
#define MADERA_ISRC2DEC4MIX_INPUT_1_SOURCE		0xB58
#define MADERA_ISRC2INT1MIX_INPUT_1_SOURCE		0xB60
#define MADERA_ISRC2INT2MIX_INPUT_1_SOURCE		0xB68
#define MADERA_ISRC2INT3MIX_INPUT_1_SOURCE		0xB70
#define MADERA_ISRC2INT4MIX_INPUT_1_SOURCE		0xB78
#define MADERA_ISRC3DEC1MIX_INPUT_1_SOURCE		0xB80
#define MADERA_ISRC3DEC2MIX_INPUT_1_SOURCE		0xB88
#define MADERA_ISRC3DEC3MIX_INPUT_1_SOURCE		0xB90
#define MADERA_ISRC3DEC4MIX_INPUT_1_SOURCE		0xB98
#define MADERA_ISRC3INT1MIX_INPUT_1_SOURCE		0xBA0
#define MADERA_ISRC3INT2MIX_INPUT_1_SOURCE		0xBA8
#define MADERA_ISRC3INT3MIX_INPUT_1_SOURCE		0xBB0
#define MADERA_ISRC3INT4MIX_INPUT_1_SOURCE		0xBB8
#define MADERA_ISRC4DEC1MIX_INPUT_1_SOURCE		0xBC0
#define MADERA_ISRC4DEC2MIX_INPUT_1_SOURCE		0xBC8
#define MADERA_ISRC4INT1MIX_INPUT_1_SOURCE		0xBE0
#define MADERA_ISRC4INT2MIX_INPUT_1_SOURCE		0xBE8
#define MADERA_DSP6LMIX_INPUT_1_SOURCE			0xC00
#define MADERA_DSP6LMIX_INPUT_1_VOLUME			0xC01
#define MADERA_DSP6LMIX_INPUT_2_SOURCE			0xC02
#define MADERA_DSP6LMIX_INPUT_2_VOLUME			0xC03
#define MADERA_DSP6LMIX_INPUT_3_SOURCE			0xC04
#define MADERA_DSP6LMIX_INPUT_3_VOLUME			0xC05
#define MADERA_DSP6LMIX_INPUT_4_SOURCE			0xC06
#define MADERA_DSP6LMIX_INPUT_4_VOLUME			0xC07
#define MADERA_DSP6RMIX_INPUT_1_SOURCE			0xC08
#define MADERA_DSP6RMIX_INPUT_1_VOLUME			0xC09
#define MADERA_DSP6RMIX_INPUT_2_SOURCE			0xC0A
#define MADERA_DSP6RMIX_INPUT_2_VOLUME			0xC0B
#define MADERA_DSP6RMIX_INPUT_3_SOURCE			0xC0C
#define MADERA_DSP6RMIX_INPUT_3_VOLUME			0xC0D
#define MADERA_DSP6RMIX_INPUT_4_SOURCE			0xC0E
#define MADERA_DSP6RMIX_INPUT_4_VOLUME			0xC0F
#define MADERA_DSP6AUX1MIX_INPUT_1_SOURCE		0xC10
#define MADERA_DSP6AUX2MIX_INPUT_1_SOURCE		0xC18
#define MADERA_DSP6AUX3MIX_INPUT_1_SOURCE		0xC20
#define MADERA_DSP6AUX4MIX_INPUT_1_SOURCE		0xC28
#define MADERA_DSP6AUX5MIX_INPUT_1_SOURCE		0xC30
#define MADERA_DSP6AUX6MIX_INPUT_1_SOURCE		0xC38
#define MADERA_DSP7LMIX_INPUT_1_SOURCE			0xC40
#define MADERA_DSP7LMIX_INPUT_1_VOLUME			0xC41
#define MADERA_DSP7LMIX_INPUT_2_SOURCE			0xC42
#define MADERA_DSP7LMIX_INPUT_2_VOLUME			0xC43
#define MADERA_DSP7LMIX_INPUT_3_SOURCE			0xC44
#define MADERA_DSP7LMIX_INPUT_3_VOLUME			0xC45
#define MADERA_DSP7LMIX_INPUT_4_SOURCE			0xC46
#define MADERA_DSP7LMIX_INPUT_4_VOLUME			0xC47
#define MADERA_DSP7RMIX_INPUT_1_SOURCE			0xC48
#define MADERA_DSP7RMIX_INPUT_1_VOLUME			0xC49
#define MADERA_DSP7RMIX_INPUT_2_SOURCE			0xC4A
#define MADERA_DSP7RMIX_INPUT_2_VOLUME			0xC4B
#define MADERA_DSP7RMIX_INPUT_3_SOURCE			0xC4C
#define MADERA_DSP7RMIX_INPUT_3_VOLUME			0xC4D
#define MADERA_DSP7RMIX_INPUT_4_SOURCE			0xC4E
#define MADERA_DSP7RMIX_INPUT_4_VOLUME			0xC4F
#define MADERA_DSP7AUX1MIX_INPUT_1_SOURCE		0xC50
#define MADERA_DSP7AUX2MIX_INPUT_1_SOURCE		0xC58
#define MADERA_DSP7AUX3MIX_INPUT_1_SOURCE		0xC60
#define MADERA_DSP7AUX4MIX_INPUT_1_SOURCE		0xC68
#define MADERA_DSP7AUX5MIX_INPUT_1_SOURCE		0xC70
#define MADERA_DSP7AUX6MIX_INPUT_1_SOURCE		0xC78
#define MADERA_DFC1MIX_INPUT_1_SOURCE			0xDC0
#define MADERA_DFC2MIX_INPUT_1_SOURCE			0xDC8
#define MADERA_DFC3MIX_INPUT_1_SOURCE			0xDD0
#define MADERA_DFC4MIX_INPUT_1_SOURCE			0xDD8
#define MADERA_DFC5MIX_INPUT_1_SOURCE			0xDE0
#define MADERA_DFC6MIX_INPUT_1_SOURCE			0xDE8
#define MADERA_DFC7MIX_INPUT_1_SOURCE			0xDF0
#define MADERA_DFC8MIX_INPUT_1_SOURCE			0xDF8
#define MADERA_FX_CTRL1					0xE00
#define MADERA_FX_CTRL2					0xE01
#define MADERA_EQ1_1					0xE10
#define MADERA_EQ1_2					0xE11
#define MADERA_EQ1_21					0xE24
#define MADERA_EQ2_1					0xE26
#define MADERA_EQ2_2					0xE27
#define MADERA_EQ2_21					0xE3A
#define MADERA_EQ3_1					0xE3C
#define MADERA_EQ3_2					0xE3D
#define MADERA_EQ3_21					0xE50
#define MADERA_EQ4_1					0xE52
#define MADERA_EQ4_2					0xE53
#define MADERA_EQ4_21					0xE66
#define MADERA_DRC1_CTRL1				0xE80
#define MADERA_DRC1_CTRL2				0xE81
#define MADERA_DRC1_CTRL3				0xE82
#define MADERA_DRC1_CTRL4				0xE83
#define MADERA_DRC1_CTRL5				0xE84
#define MADERA_DRC2_CTRL1				0xE88
#define MADERA_DRC2_CTRL2				0xE89
#define MADERA_DRC2_CTRL3				0xE8A
#define MADERA_DRC2_CTRL4				0xE8B
#define MADERA_DRC2_CTRL5				0xE8C
#define MADERA_HPLPF1_1					0xEC0
#define MADERA_HPLPF1_2					0xEC1
#define MADERA_HPLPF2_1					0xEC4
#define MADERA_HPLPF2_2					0xEC5
#define MADERA_HPLPF3_1					0xEC8
#define MADERA_HPLPF3_2					0xEC9
#define MADERA_HPLPF4_1					0xECC
#define MADERA_HPLPF4_2					0xECD
#define MADERA_ASRC2_ENABLE				0xED0
#define MADERA_ASRC2_STATUS				0xED1
#define MADERA_ASRC2_RATE1				0xED2
#define MADERA_ASRC2_RATE2				0xED3
#define MADERA_ASRC1_ENABLE				0xEE0
#define MADERA_ASRC1_STATUS				0xEE1
#define MADERA_ASRC1_RATE1				0xEE2
#define MADERA_ASRC1_RATE2				0xEE3
#define MADERA_ISRC_1_CTRL_1				0xEF0
#define MADERA_ISRC_1_CTRL_2				0xEF1
#define MADERA_ISRC_1_CTRL_3				0xEF2
#define MADERA_ISRC_2_CTRL_1				0xEF3
#define MADERA_ISRC_2_CTRL_2				0xEF4
#define MADERA_ISRC_2_CTRL_3				0xEF5
#define MADERA_ISRC_3_CTRL_1				0xEF6
#define MADERA_ISRC_3_CTRL_2				0xEF7
#define MADERA_ISRC_3_CTRL_3				0xEF8
#define MADERA_ISRC_4_CTRL_1				0xEF9
#define MADERA_ISRC_4_CTRL_2				0xEFA
#define MADERA_ISRC_4_CTRL_3				0xEFB
#define MADERA_CLOCK_CONTROL				0xF00
#define MADERA_ANC_SRC					0xF01
#define MADERA_DSP_STATUS				0xF02
#define MADERA_ANC_COEFF_START				0xF08
#define MADERA_ANC_COEFF_END				0xF12
#define MADERA_FCL_FILTER_CONTROL			0xF15
#define MADERA_FCL_ADC_REFORMATTER_CONTROL		0xF17
#define MADERA_FCL_COEFF_START				0xF18
#define MADERA_FCL_COEFF_END				0xF69
#define MADERA_FCR_FILTER_CONTROL			0xF71
#define MADERA_FCR_ADC_REFORMATTER_CONTROL		0xF73
#define MADERA_FCR_COEFF_START				0xF74
#define MADERA_FCR_COEFF_END				0xFC5
#define MADERA_DAC_COMP_1				0x1300
#define MADERA_DAC_COMP_2				0x1302
#define MADERA_FRF_COEFFICIENT_1L_1			0x1380
#define MADERA_FRF_COEFFICIENT_1L_2			0x1381
#define MADERA_FRF_COEFFICIENT_1L_3			0x1382
#define MADERA_FRF_COEFFICIENT_1L_4			0x1383
#define MADERA_FRF_COEFFICIENT_1R_1			0x1390
#define MADERA_FRF_COEFFICIENT_1R_2			0x1391
#define MADERA_FRF_COEFFICIENT_1R_3			0x1392
#define MADERA_FRF_COEFFICIENT_1R_4			0x1393
#define MADERA_FRF_COEFFICIENT_2L_1			0x13A0
#define MADERA_FRF_COEFFICIENT_2L_2			0x13A1
#define MADERA_FRF_COEFFICIENT_2L_3			0x13A2
#define MADERA_FRF_COEFFICIENT_2L_4			0x13A3
#define MADERA_FRF_COEFFICIENT_2R_1			0x13B0
#define MADERA_FRF_COEFFICIENT_2R_2			0x13B1
#define MADERA_FRF_COEFFICIENT_2R_3			0x13B2
#define MADERA_FRF_COEFFICIENT_2R_4			0x13B3
#define MADERA_FRF_COEFFICIENT_3L_1			0x13C0
#define MADERA_FRF_COEFFICIENT_3L_2			0x13C1
#define MADERA_FRF_COEFFICIENT_3L_3			0x13C2
#define MADERA_FRF_COEFFICIENT_3L_4			0x13C3
#define MADERA_FRF_COEFFICIENT_3R_1			0x13D0
#define MADERA_FRF_COEFFICIENT_3R_2			0x13D1
#define MADERA_FRF_COEFFICIENT_3R_3			0x13D2
#define MADERA_FRF_COEFFICIENT_3R_4			0x13D3
#define MADERA_FRF_COEFFICIENT_4L_1			0x13E0
#define MADERA_FRF_COEFFICIENT_4L_2			0x13E1
#define MADERA_FRF_COEFFICIENT_4L_3			0x13E2
#define MADERA_FRF_COEFFICIENT_4L_4			0x13E3
#define MADERA_FRF_COEFFICIENT_4R_1			0x13F0
#define MADERA_FRF_COEFFICIENT_4R_2			0x13F1
#define MADERA_FRF_COEFFICIENT_4R_3			0x13F2
#define MADERA_FRF_COEFFICIENT_4R_4			0x13F3
#define CS47L35_FRF_COEFFICIENT_4L_1			0x13A0
#define CS47L35_FRF_COEFFICIENT_4L_2			0x13A1
#define CS47L35_FRF_COEFFICIENT_4L_3			0x13A2
#define CS47L35_FRF_COEFFICIENT_4L_4			0x13A3
#define CS47L35_FRF_COEFFICIENT_5L_1			0x13B0
#define CS47L35_FRF_COEFFICIENT_5L_2			0x13B1
#define CS47L35_FRF_COEFFICIENT_5L_3			0x13B2
#define CS47L35_FRF_COEFFICIENT_5L_4			0x13B3
#define CS47L35_FRF_COEFFICIENT_5R_1			0x13C0
#define CS47L35_FRF_COEFFICIENT_5R_2			0x13C1
#define CS47L35_FRF_COEFFICIENT_5R_3			0x13C2
#define CS47L35_FRF_COEFFICIENT_5R_4			0x13C3
#define MADERA_FRF_COEFFICIENT_5L_1			0x1400
#define MADERA_FRF_COEFFICIENT_5L_2			0x1401
#define MADERA_FRF_COEFFICIENT_5L_3			0x1402
#define MADERA_FRF_COEFFICIENT_5L_4			0x1403
#define MADERA_FRF_COEFFICIENT_5R_1			0x1410
#define MADERA_FRF_COEFFICIENT_5R_2			0x1411
#define MADERA_FRF_COEFFICIENT_5R_3			0x1412
#define MADERA_FRF_COEFFICIENT_5R_4			0x1413
#define MADERA_FRF_COEFFICIENT_6L_1			0x1420
#define MADERA_FRF_COEFFICIENT_6L_2			0x1421
#define MADERA_FRF_COEFFICIENT_6L_3			0x1422
#define MADERA_FRF_COEFFICIENT_6L_4			0x1423
#define MADERA_FRF_COEFFICIENT_6R_1			0x1430
#define MADERA_FRF_COEFFICIENT_6R_2			0x1431
#define MADERA_FRF_COEFFICIENT_6R_3			0x1432
#define MADERA_FRF_COEFFICIENT_6R_4			0x1433
#define MADERA_DFC1_CTRL				0x1480
#define MADERA_DFC1_RX					0x1482
#define MADERA_DFC1_TX					0x1484
#define MADERA_DFC2_CTRL				0x1486
#define MADERA_DFC2_RX					0x1488
#define MADERA_DFC2_TX					0x148A
#define MADERA_DFC3_CTRL				0x148C
#define MADERA_DFC3_RX					0x148E
#define MADERA_DFC3_TX					0x1490
#define MADERA_DFC4_CTRL				0x1492
#define MADERA_DFC4_RX					0x1494
#define MADERA_DFC4_TX					0x1496
#define MADERA_DFC5_CTRL				0x1498
#define MADERA_DFC5_RX					0x149A
#define MADERA_DFC5_TX					0x149C
#define MADERA_DFC6_CTRL				0x149E
#define MADERA_DFC6_RX					0x14A0
#define MADERA_DFC6_TX					0x14A2
#define MADERA_DFC7_CTRL				0x14A4
#define MADERA_DFC7_RX					0x14A6
#define MADERA_DFC7_TX					0x14A8
#define MADERA_DFC8_CTRL				0x14AA
#define MADERA_DFC8_RX					0x14AC
#define MADERA_DFC8_TX					0x14AE
#define MADERA_DFC_STATUS				0x14B6
#define MADERA_ADSP2_IRQ0				0x1600
#define MADERA_ADSP2_IRQ1				0x1601
#define MADERA_ADSP2_IRQ2				0x1602
#define MADERA_ADSP2_IRQ3				0x1603
#define MADERA_ADSP2_IRQ4				0x1604
#define MADERA_ADSP2_IRQ5				0x1605
#define MADERA_ADSP2_IRQ6				0x1606
#define MADERA_ADSP2_IRQ7				0x1607
#define MADERA_GPIO1_CTRL_1				0x1700
#define MADERA_GPIO1_CTRL_2				0x1701
#define MADERA_GPIO2_CTRL_1				0x1702
#define MADERA_GPIO2_CTRL_2				0x1703
#define MADERA_GPIO16_CTRL_1				0x171E
#define MADERA_GPIO16_CTRL_2				0x171F
#define MADERA_GPIO38_CTRL_1				0x174A
#define MADERA_GPIO38_CTRL_2				0x174B
#define MADERA_GPIO40_CTRL_1				0x174E
#define MADERA_GPIO40_CTRL_2				0x174F
#define MADERA_IRQ1_STATUS_1				0x1800
#define MADERA_IRQ1_STATUS_2				0x1801
#define MADERA_IRQ1_STATUS_6				0x1805
#define MADERA_IRQ1_STATUS_7				0x1806
#define MADERA_IRQ1_STATUS_9				0x1808
#define MADERA_IRQ1_STATUS_11				0x180A
#define MADERA_IRQ1_STATUS_12				0x180B
#define MADERA_IRQ1_STATUS_15				0x180E
#define MADERA_IRQ1_STATUS_33				0x1820
#define MADERA_IRQ1_MASK_1				0x1840
#define MADERA_IRQ1_MASK_2				0x1841
#define MADERA_IRQ1_MASK_6				0x1845
#define MADERA_IRQ1_MASK_33				0x1860
#define MADERA_IRQ1_RAW_STATUS_1			0x1880
#define MADERA_IRQ1_RAW_STATUS_2			0x1881
#define MADERA_IRQ1_RAW_STATUS_7			0x1886
#define MADERA_IRQ1_RAW_STATUS_15			0x188E
#define MADERA_IRQ1_RAW_STATUS_33			0x18A0
#define MADERA_INTERRUPT_DEBOUNCE_7			0x1A06
#define MADERA_INTERRUPT_DEBOUNCE_15			0x1A0E
#define MADERA_IRQ1_CTRL				0x1A80
#define MADERA_IRQ2_CTRL				0x1A82
#define MADERA_INTERRUPT_RAW_STATUS_1			0x1AA0
#define MADERA_WSEQ_SEQUENCE_1				0x3000
#define MADERA_WSEQ_SEQUENCE_252			0x31F6
#define CS47L35_OTP_HPDET_CAL_1				0x31F8
#define CS47L35_OTP_HPDET_CAL_2				0x31FA
#define MADERA_WSEQ_SEQUENCE_508			0x33F6
#define CS47L85_OTP_HPDET_CAL_1				0x33F8
#define CS47L85_OTP_HPDET_CAL_2				0x33FA
#define MADERA_OTP_HPDET_CAL_1				0x20004
#define MADERA_OTP_HPDET_CAL_2				0x20006
#define MADERA_DSP1_CONFIG_1				0x0FFE00
#define MADERA_DSP1_CONFIG_2				0x0FFE02
#define MADERA_DSP1_SCRATCH_1				0x0FFE40
#define MADERA_DSP1_SCRATCH_2				0x0FFE42
#define MADERA_DSP1_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0xFFE7C
#define MADERA_DSP2_CONFIG_1				0x17FE00
#define MADERA_DSP2_CONFIG_2				0x17FE02
#define MADERA_DSP2_SCRATCH_1				0x17FE40
#define MADERA_DSP2_SCRATCH_2				0x17FE42
#define MADERA_DSP2_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x17FE7C
#define MADERA_DSP3_CONFIG_1				0x1FFE00
#define MADERA_DSP3_CONFIG_2				0x1FFE02
#define MADERA_DSP3_SCRATCH_1				0x1FFE40
#define MADERA_DSP3_SCRATCH_2				0x1FFE42
#define MADERA_DSP3_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x1FFE7C
#define MADERA_DSP4_CONFIG_1				0x27FE00
#define MADERA_DSP4_CONFIG_2				0x27FE02
#define MADERA_DSP4_SCRATCH_1				0x27FE40
#define MADERA_DSP4_SCRATCH_2				0x27FE42
#define MADERA_DSP4_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x27FE7C
#define MADERA_DSP5_CONFIG_1				0x2FFE00
#define MADERA_DSP5_CONFIG_2				0x2FFE02
#define MADERA_DSP5_SCRATCH_1				0x2FFE40
#define MADERA_DSP5_SCRATCH_2				0x2FFE42
#define MADERA_DSP5_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x2FFE7C
#define MADERA_DSP6_CONFIG_1				0x37FE00
#define MADERA_DSP6_CONFIG_2				0x37FE02
#define MADERA_DSP6_SCRATCH_1				0x37FE40
#define MADERA_DSP6_SCRATCH_2				0x37FE42
#define MADERA_DSP6_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x37FE7C
#define MADERA_DSP7_CONFIG_1				0x3FFE00
#define MADERA_DSP7_CONFIG_2				0x3FFE02
#define MADERA_DSP7_SCRATCH_1				0x3FFE40
#define MADERA_DSP7_SCRATCH_2				0x3FFE42
#define MADERA_DSP7_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x3FFE7C

/* (0x0000)  Software_Reset */
#define MADERA_SW_RST_DEV_ID1_MASK			0xFFFF
#define MADERA_SW_RST_DEV_ID1_SHIFT			     0
#define MADERA_SW_RST_DEV_ID1_WIDTH			    16

/* (0x0001)  Hardware_Revision */
#define MADERA_HW_REVISION_MASK				0x00FF
#define MADERA_HW_REVISION_SHIFT			     0
#define MADERA_HW_REVISION_WIDTH			     8

/* (0x0020)  Tone_Generator_1 */
#define MADERA_TONE2_ENA				0x0002
#define MADERA_TONE2_ENA_MASK				0x0002
#define MADERA_TONE2_ENA_SHIFT				     1
#define MADERA_TONE2_ENA_WIDTH				     1
#define MADERA_TONE1_ENA				0x0001
#define MADERA_TONE1_ENA_MASK				0x0001
#define MADERA_TONE1_ENA_SHIFT				     0
#define MADERA_TONE1_ENA_WIDTH				     1

/* (0x0021)  Tone_Generator_2 */
#define MADERA_TONE1_LVL_0_MASK				0xFFFF
#define MADERA_TONE1_LVL_0_SHIFT			     0
#define MADERA_TONE1_LVL_0_WIDTH			    16

/* (0x0022)  Tone_Generator_3 */
#define MADERA_TONE1_LVL_MASK				0x00FF
#define MADERA_TONE1_LVL_SHIFT				     0
#define MADERA_TONE1_LVL_WIDTH				     8

/* (0x0023)  Tone_Generator_4 */
#define MADERA_TONE2_LVL_0_MASK				0xFFFF
#define MADERA_TONE2_LVL_0_SHIFT			     0
#define MADERA_TONE2_LVL_0_WIDTH			    16

/* (0x0024)  Tone_Generator_5 */
#define MADERA_TONE2_LVL_MASK				0x00FF
#define MADERA_TONE2_LVL_SHIFT				     0
#define MADERA_TONE2_LVL_WIDTH				     8

/* (0x0030)  PWM_Drive_1 */
#define MADERA_PWM2_ENA					0x0002
#define MADERA_PWM2_ENA_MASK				0x0002
#define MADERA_PWM2_ENA_SHIFT				     1
#define MADERA_PWM2_ENA_WIDTH				     1
#define MADERA_PWM1_ENA					0x0001
#define MADERA_PWM1_ENA_MASK				0x0001
#define MADERA_PWM1_ENA_SHIFT				     0
#define MADERA_PWM1_ENA_WIDTH				     1

/* (0x00A0)  Comfort_Noise_Generator */
#define MADERA_NOISE_GEN_ENA				0x0020
#define MADERA_NOISE_GEN_ENA_MASK			0x0020
#define MADERA_NOISE_GEN_ENA_SHIFT			     5
#define MADERA_NOISE_GEN_ENA_WIDTH			     1
#define MADERA_NOISE_GEN_GAIN_MASK			0x001F
#define MADERA_NOISE_GEN_GAIN_SHIFT			     0
#define MADERA_NOISE_GEN_GAIN_WIDTH			     5

/* (0x0100)  Clock_32k_1 */
#define MADERA_CLK_32K_ENA				0x0040
#define MADERA_CLK_32K_ENA_MASK				0x0040
#define MADERA_CLK_32K_ENA_SHIFT			     6
#define MADERA_CLK_32K_ENA_WIDTH			     1
#define MADERA_CLK_32K_SRC_MASK				0x0003
#define MADERA_CLK_32K_SRC_SHIFT			     0
#define MADERA_CLK_32K_SRC_WIDTH			     2

/* (0x0101)  System_Clock_1 */
#define MADERA_SYSCLK_FRAC				0x8000
#define MADERA_SYSCLK_FRAC_MASK				0x8000
#define MADERA_SYSCLK_FRAC_SHIFT			    15
#define MADERA_SYSCLK_FRAC_WIDTH			     1
#define MADERA_SYSCLK_FREQ_MASK				0x0700
#define MADERA_SYSCLK_FREQ_SHIFT			     8
#define MADERA_SYSCLK_FREQ_WIDTH			     3
#define MADERA_SYSCLK_ENA				0x0040
#define MADERA_SYSCLK_ENA_MASK				0x0040
#define MADERA_SYSCLK_ENA_SHIFT				     6
#define MADERA_SYSCLK_ENA_WIDTH				     1
#define MADERA_SYSCLK_SRC_MASK				0x000F
#define MADERA_SYSCLK_SRC_SHIFT				     0
#define MADERA_SYSCLK_SRC_WIDTH				     4

/* (0x0102)  Sample_rate_1 */
#define MADERA_SAMPLE_RATE_1_MASK			0x001F
#define MADERA_SAMPLE_RATE_1_SHIFT			     0
#define MADERA_SAMPLE_RATE_1_WIDTH			     5

/* (0x0103)  Sample_rate_2 */
#define MADERA_SAMPLE_RATE_2_MASK			0x001F
#define MADERA_SAMPLE_RATE_2_SHIFT			     0
#define MADERA_SAMPLE_RATE_2_WIDTH			     5

/* (0x0104)  Sample_rate_3 */
#define MADERA_SAMPLE_RATE_3_MASK			0x001F
#define MADERA_SAMPLE_RATE_3_SHIFT			     0
#define MADERA_SAMPLE_RATE_3_WIDTH			     5

/* (0x0112)  Async_clock_1 */
#define MADERA_ASYNC_CLK_FREQ_MASK			0x0700
#define MADERA_ASYNC_CLK_FREQ_SHIFT			     8
#define MADERA_ASYNC_CLK_FREQ_WIDTH			     3
#define MADERA_ASYNC_CLK_ENA				0x0040
#define MADERA_ASYNC_CLK_ENA_MASK			0x0040
#define MADERA_ASYNC_CLK_ENA_SHIFT			     6
#define MADERA_ASYNC_CLK_ENA_WIDTH			     1
#define MADERA_ASYNC_CLK_SRC_MASK			0x000F
#define MADERA_ASYNC_CLK_SRC_SHIFT			     0
#define MADERA_ASYNC_CLK_SRC_WIDTH			     4

/* (0x0113)  Async_sample_rate_1 */
#define MADERA_ASYNC_SAMPLE_RATE_1_MASK			0x001F
#define MADERA_ASYNC_SAMPLE_RATE_1_SHIFT		     0
#define MADERA_ASYNC_SAMPLE_RATE_1_WIDTH		     5

/* (0x0114)  Async_sample_rate_2 */
#define MADERA_ASYNC_SAMPLE_RATE_2_MASK			0x001F
#define MADERA_ASYNC_SAMPLE_RATE_2_SHIFT		     0
#define MADERA_ASYNC_SAMPLE_RATE_2_WIDTH		     5

/* (0x0120)  DSP_Clock_1 */
#define MADERA_DSP_CLK_FREQ_LEGACY			0x0700
#define MADERA_DSP_CLK_FREQ_LEGACY_MASK			0x0700
#define MADERA_DSP_CLK_FREQ_LEGACY_SHIFT		     8
#define MADERA_DSP_CLK_FREQ_LEGACY_WIDTH		     3
#define MADERA_DSP_CLK_ENA				0x0040
#define MADERA_DSP_CLK_ENA_MASK				0x0040
#define MADERA_DSP_CLK_ENA_SHIFT			     6
#define MADERA_DSP_CLK_ENA_WIDTH			     1
#define MADERA_DSP_CLK_SRC				0x000F
#define MADERA_DSP_CLK_SRC_MASK				0x000F
#define MADERA_DSP_CLK_SRC_SHIFT			     0
#define MADERA_DSP_CLK_SRC_WIDTH			     4

/* (0x0122)  DSP_Clock_2 */
#define MADERA_DSP_CLK_FREQ_MASK			0x03FF
#define MADERA_DSP_CLK_FREQ_SHIFT			     0
#define MADERA_DSP_CLK_FREQ_WIDTH			    10

/* (0x0149)  Output_system_clock */
#define MADERA_OPCLK_ENA				0x8000
#define MADERA_OPCLK_ENA_MASK				0x8000
#define MADERA_OPCLK_ENA_SHIFT				    15
#define MADERA_OPCLK_ENA_WIDTH				     1
#define MADERA_OPCLK_DIV_MASK				0x00F8
#define MADERA_OPCLK_DIV_SHIFT				     3
#define MADERA_OPCLK_DIV_WIDTH				     5
#define MADERA_OPCLK_SEL_MASK				0x0007
#define MADERA_OPCLK_SEL_SHIFT				     0
#define MADERA_OPCLK_SEL_WIDTH				     3

/* (0x014A)  Output_async_clock */
#define MADERA_OPCLK_ASYNC_ENA				0x8000
#define MADERA_OPCLK_ASYNC_ENA_MASK			0x8000
#define MADERA_OPCLK_ASYNC_ENA_SHIFT			    15
#define MADERA_OPCLK_ASYNC_ENA_WIDTH			     1
#define MADERA_OPCLK_ASYNC_DIV_MASK			0x00F8
#define MADERA_OPCLK_ASYNC_DIV_SHIFT			     3
#define MADERA_OPCLK_ASYNC_DIV_WIDTH			     5
#define MADERA_OPCLK_ASYNC_SEL_MASK			0x0007
#define MADERA_OPCLK_ASYNC_SEL_SHIFT			     0
#define MADERA_OPCLK_ASYNC_SEL_WIDTH			     3

/* (0x0171)  FLL1_Control_1 */
#define MADERA_FLL1_FREERUN				0x0002
#define MADERA_FLL1_FREERUN_MASK			0x0002
#define MADERA_FLL1_FREERUN_SHIFT			     1
#define MADERA_FLL1_FREERUN_WIDTH			     1
#define MADERA_FLL1_ENA					0x0001
#define MADERA_FLL1_ENA_MASK				0x0001
#define MADERA_FLL1_ENA_SHIFT				     0
#define MADERA_FLL1_ENA_WIDTH				     1

/* (0x0172)  FLL1_Control_2 */
#define MADERA_FLL1_CTRL_UPD				0x8000
#define MADERA_FLL1_CTRL_UPD_MASK			0x8000
#define MADERA_FLL1_CTRL_UPD_SHIFT			    15
#define MADERA_FLL1_CTRL_UPD_WIDTH			     1
#define MADERA_FLL1_N_MASK				0x03FF
#define MADERA_FLL1_N_SHIFT				     0
#define MADERA_FLL1_N_WIDTH				    10

/* (0x0173)  FLL1_Control_3 */
#define MADERA_FLL1_THETA_MASK				0xFFFF
#define MADERA_FLL1_THETA_SHIFT				     0
#define MADERA_FLL1_THETA_WIDTH				    16

/* (0x0174)  FLL1_Control_4 */
#define MADERA_FLL1_LAMBDA_MASK				0xFFFF
#define MADERA_FLL1_LAMBDA_SHIFT			     0
#define MADERA_FLL1_LAMBDA_WIDTH			    16

/* (0x0175)  FLL1_Control_5 */
#define MADERA_FLL1_FRATIO_MASK				0x0F00
#define MADERA_FLL1_FRATIO_SHIFT			     8
#define MADERA_FLL1_FRATIO_WIDTH			     4

/* (0x0176)  FLL1_Control_6 */
#define MADERA_FLL1_REFCLK_DIV_MASK			0x00C0
#define MADERA_FLL1_REFCLK_DIV_SHIFT			     6
#define MADERA_FLL1_REFCLK_DIV_WIDTH			     2
#define MADERA_FLL1_REFCLK_SRC_MASK			0x000F
#define MADERA_FLL1_REFCLK_SRC_SHIFT			     0
#define MADERA_FLL1_REFCLK_SRC_WIDTH			     4

/* (0x0177)  FLL1_Loop_Filter_Test_1 */
#define MADERA_FLL1_FRC_INTEG_UPD			0x8000
#define MADERA_FLL1_FRC_INTEG_UPD_MASK			0x8000
#define MADERA_FLL1_FRC_INTEG_UPD_SHIFT			    15
#define MADERA_FLL1_FRC_INTEG_UPD_WIDTH			     1
#define MADERA_FLL1_FRC_INTEG_VAL_MASK			0x0FFF
#define MADERA_FLL1_FRC_INTEG_VAL_SHIFT			     0
#define MADERA_FLL1_FRC_INTEG_VAL_WIDTH			    12

/* (0x0179)  FLL1_Control_7 */
#define MADERA_FLL1_GAIN_MASK				0x003c
#define MADERA_FLL1_GAIN_SHIFT				     2
#define MADERA_FLL1_GAIN_WIDTH				     4

/* (0x017A)  FLL1_EFS_2 */
#define MADERA_FLL1_PHASE_GAIN_MASK			0xF000
#define MADERA_FLL1_PHASE_GAIN_SHIFT			    12
#define MADERA_FLL1_PHASE_GAIN_WIDTH			     4
#define MADERA_FLL1_PHASE_ENA_MASK			0x0800
#define MADERA_FLL1_PHASE_ENA_SHIFT			    11
#define MADERA_FLL1_PHASE_ENA_WIDTH			     1

/* (0x0181)  FLL1_Synchroniser_1 */
#define MADERA_FLL1_SYNC_ENA				0x0001
#define MADERA_FLL1_SYNC_ENA_MASK			0x0001
#define MADERA_FLL1_SYNC_ENA_SHIFT			     0
#define MADERA_FLL1_SYNC_ENA_WIDTH			     1

/* (0x0182)  FLL1_Synchroniser_2 */
#define MADERA_FLL1_SYNC_N_MASK				0x03FF
#define MADERA_FLL1_SYNC_N_SHIFT			     0
#define MADERA_FLL1_SYNC_N_WIDTH			    10

/* (0x0183)  FLL1_Synchroniser_3 */
#define MADERA_FLL1_SYNC_THETA_MASK			0xFFFF
#define MADERA_FLL1_SYNC_THETA_SHIFT			     0
#define MADERA_FLL1_SYNC_THETA_WIDTH			    16

/* (0x0184)  FLL1_Synchroniser_4 */
#define MADERA_FLL1_SYNC_LAMBDA_MASK			0xFFFF
#define MADERA_FLL1_SYNC_LAMBDA_SHIFT			     0
#define MADERA_FLL1_SYNC_LAMBDA_WIDTH			    16

/* (0x0185)  FLL1_Synchroniser_5 */
#define MADERA_FLL1_SYNC_FRATIO_MASK			0x0700
#define MADERA_FLL1_SYNC_FRATIO_SHIFT			     8
#define MADERA_FLL1_SYNC_FRATIO_WIDTH			     3

/* (0x0186)  FLL1_Synchroniser_6 */
#define MADERA_FLL1_SYNCCLK_DIV_MASK			0x00C0
#define MADERA_FLL1_SYNCCLK_DIV_SHIFT			     6
#define MADERA_FLL1_SYNCCLK_DIV_WIDTH			     2
#define MADERA_FLL1_SYNCCLK_SRC_MASK			0x000F
#define MADERA_FLL1_SYNCCLK_SRC_SHIFT			     0
#define MADERA_FLL1_SYNCCLK_SRC_WIDTH			     4

/* (0x0187)  FLL1_Synchroniser_7 */
#define MADERA_FLL1_SYNC_GAIN_MASK			0x003c
#define MADERA_FLL1_SYNC_GAIN_SHIFT			     2
#define MADERA_FLL1_SYNC_GAIN_WIDTH			     4
#define MADERA_FLL1_SYNC_DFSAT				0x0001
#define MADERA_FLL1_SYNC_DFSAT_MASK			0x0001
#define MADERA_FLL1_SYNC_DFSAT_SHIFT			     0
#define MADERA_FLL1_SYNC_DFSAT_WIDTH			     1

/* (0x01D1)  FLL_AO_Control_1 */
#define MADERA_FLL_AO_HOLD				0x0004
#define MADERA_FLL_AO_HOLD_MASK				0x0004
#define MADERA_FLL_AO_HOLD_SHIFT			     2
#define MADERA_FLL_AO_HOLD_WIDTH			     1
#define MADERA_FLL_AO_FREERUN				0x0002
#define MADERA_FLL_AO_FREERUN_MASK			0x0002
#define MADERA_FLL_AO_FREERUN_SHIFT			     1
#define MADERA_FLL_AO_FREERUN_WIDTH			     1
#define MADERA_FLL_AO_ENA				0x0001
#define MADERA_FLL_AO_ENA_MASK				0x0001
#define MADERA_FLL_AO_ENA_SHIFT				     0
#define MADERA_FLL_AO_ENA_WIDTH				     1

/* (0x01D2)  FLL_AO_Control_2 */
#define MADERA_FLL_AO_CTRL_UPD				0x8000
#define MADERA_FLL_AO_CTRL_UPD_MASK			0x8000
#define MADERA_FLL_AO_CTRL_UPD_SHIFT			    15
#define MADERA_FLL_AO_CTRL_UPD_WIDTH			     1

/* (0x01D6)  FLL_AO_Control_6 */
#define MADERA_FLL_AO_REFCLK_SRC_MASK			0x000F
#define MADERA_FLL_AO_REFCLK_SRC_SHIFT			     0
#define MADERA_FLL_AO_REFCLK_SRC_WIDTH			     4

/* (0x0200)  Mic_Charge_Pump_1 */
#define MADERA_CPMIC_BYPASS				0x0002
#define MADERA_CPMIC_BYPASS_MASK			0x0002
#define MADERA_CPMIC_BYPASS_SHIFT			     1
#define MADERA_CPMIC_BYPASS_WIDTH			     1
#define MADERA_CPMIC_ENA				0x0001
#define MADERA_CPMIC_ENA_MASK				0x0001
#define MADERA_CPMIC_ENA_SHIFT				     0
#define MADERA_CPMIC_ENA_WIDTH				     1

/* (0x0210)  LDO1_Control_1 */
#define MADERA_LDO1_VSEL_MASK				0x07E0
#define MADERA_LDO1_VSEL_SHIFT				     5
#define MADERA_LDO1_VSEL_WIDTH				     6
#define MADERA_LDO1_FAST				0x0010
#define MADERA_LDO1_FAST_MASK				0x0010
#define MADERA_LDO1_FAST_SHIFT				     4
#define MADERA_LDO1_FAST_WIDTH				     1
#define MADERA_LDO1_DISCH				0x0004
#define MADERA_LDO1_DISCH_MASK				0x0004
#define MADERA_LDO1_DISCH_SHIFT				     2
#define MADERA_LDO1_DISCH_WIDTH				     1
#define MADERA_LDO1_BYPASS				0x0002
#define MADERA_LDO1_BYPASS_MASK				0x0002
#define MADERA_LDO1_BYPASS_SHIFT			     1
#define MADERA_LDO1_BYPASS_WIDTH			     1
#define MADERA_LDO1_ENA					0x0001
#define MADERA_LDO1_ENA_MASK				0x0001
#define MADERA_LDO1_ENA_SHIFT				     0
#define MADERA_LDO1_ENA_WIDTH				     1

/* (0x0213)  LDO2_Control_1 */
#define MADERA_LDO2_VSEL_MASK				0x07E0
#define MADERA_LDO2_VSEL_SHIFT				     5
#define MADERA_LDO2_VSEL_WIDTH				     6
#define MADERA_LDO2_FAST				0x0010
#define MADERA_LDO2_FAST_MASK				0x0010
#define MADERA_LDO2_FAST_SHIFT				     4
#define MADERA_LDO2_FAST_WIDTH				     1
#define MADERA_LDO2_DISCH				0x0004
#define MADERA_LDO2_DISCH_MASK				0x0004
#define MADERA_LDO2_DISCH_SHIFT				     2
#define MADERA_LDO2_DISCH_WIDTH				     1
#define MADERA_LDO2_BYPASS				0x0002
#define MADERA_LDO2_BYPASS_MASK				0x0002
#define MADERA_LDO2_BYPASS_SHIFT			     1
#define MADERA_LDO2_BYPASS_WIDTH			     1
#define MADERA_LDO2_ENA					0x0001
#define MADERA_LDO2_ENA_MASK				0x0001
#define MADERA_LDO2_ENA_SHIFT				     0
#define MADERA_LDO2_ENA_WIDTH				     1

/* (0x0218)  Mic_Bias_Ctrl_1 */
#define MADERA_MICB1_ENA				0x0001
#define MADERA_MICB1_ENA_MASK				0x0001
#define MADERA_MICB1_ENA_SHIFT				     0
#define MADERA_MICB1_ENA_WIDTH				     1

/* (0x021C)  Mic_Bias_Ctrl_5 */
#define MADERA_MICB1D_ENA				0x1000
#define MADERA_MICB1D_ENA_MASK				0x1000
#define MADERA_MICB1D_ENA_SHIFT				    12
#define MADERA_MICB1D_ENA_WIDTH				     1
#define MADERA_MICB1C_ENA				0x0100
#define MADERA_MICB1C_ENA_MASK				0x0100
#define MADERA_MICB1C_ENA_SHIFT				     8
#define MADERA_MICB1C_ENA_WIDTH				     1
#define MADERA_MICB1B_ENA				0x0010
#define MADERA_MICB1B_ENA_MASK				0x0010
#define MADERA_MICB1B_ENA_SHIFT				     4
#define MADERA_MICB1B_ENA_WIDTH				     1
#define MADERA_MICB1A_ENA				0x0001
#define MADERA_MICB1A_ENA_MASK				0x0001
#define MADERA_MICB1A_ENA_SHIFT				     0
#define MADERA_MICB1A_ENA_WIDTH				     1

/* (0x021E)  Mic_Bias_Ctrl_6 */
#define MADERA_MICB2D_ENA				0x1000
#define MADERA_MICB2D_ENA_MASK				0x1000
#define MADERA_MICB2D_ENA_SHIFT				    12
#define MADERA_MICB2D_ENA_WIDTH				     1
#define MADERA_MICB2C_ENA				0x0100
#define MADERA_MICB2C_ENA_MASK				0x0100
#define MADERA_MICB2C_ENA_SHIFT				     8
#define MADERA_MICB2C_ENA_WIDTH				     1
#define MADERA_MICB2B_ENA				0x0010
#define MADERA_MICB2B_ENA_MASK				0x0010
#define MADERA_MICB2B_ENA_SHIFT				     4
#define MADERA_MICB2B_ENA_WIDTH				     1
#define MADERA_MICB2A_ENA				0x0001
#define MADERA_MICB2A_ENA_MASK				0x0001
#define MADERA_MICB2A_ENA_SHIFT				     0
#define MADERA_MICB2A_ENA_WIDTH				     1

/* (0x0225) - HP Ctrl 1L */
#define MADERA_RMV_SHRT_HP1L				0x4000
#define MADERA_RMV_SHRT_HP1L_MASK			0x4000
#define MADERA_RMV_SHRT_HP1L_SHIFT			    14
#define MADERA_RMV_SHRT_HP1L_WIDTH			     1
#define MADERA_HP1L_FLWR				0x0004
#define MADERA_HP1L_FLWR_MASK				0x0004
#define MADERA_HP1L_FLWR_SHIFT				     2
#define MADERA_HP1L_FLWR_WIDTH				     1
#define MADERA_HP1L_SHRTI				0x0002
#define MADERA_HP1L_SHRTI_MASK				0x0002
#define MADERA_HP1L_SHRTI_SHIFT				     1
#define MADERA_HP1L_SHRTI_WIDTH				     1
#define MADERA_HP1L_SHRTO				0x0001
#define MADERA_HP1L_SHRTO_MASK				0x0001
#define MADERA_HP1L_SHRTO_SHIFT				     0
#define MADERA_HP1L_SHRTO_WIDTH				     1

/* (0x0226) - HP Ctrl 1R */
#define MADERA_RMV_SHRT_HP1R				0x4000
#define MADERA_RMV_SHRT_HP1R_MASK			0x4000
#define MADERA_RMV_SHRT_HP1R_SHIFT			    14
#define MADERA_RMV_SHRT_HP1R_WIDTH			     1
#define MADERA_HP1R_FLWR				0x0004
#define MADERA_HP1R_FLWR_MASK				0x0004
#define MADERA_HP1R_FLWR_SHIFT				     2
#define MADERA_HP1R_FLWR_WIDTH				     1
#define MADERA_HP1R_SHRTI				0x0002
#define MADERA_HP1R_SHRTI_MASK				0x0002
#define MADERA_HP1R_SHRTI_SHIFT				     1
#define MADERA_HP1R_SHRTI_WIDTH				     1
#define MADERA_HP1R_SHRTO				0x0001
#define MADERA_HP1R_SHRTO_MASK				0x0001
#define MADERA_HP1R_SHRTO_SHIFT				     0
#define MADERA_HP1R_SHRTO_WIDTH				     1

/* (0x0293)  Accessory_Detect_Mode_1 */
#define MADERA_ACCDET_SRC				0x2000
#define MADERA_ACCDET_SRC_MASK				0x2000
#define MADERA_ACCDET_SRC_SHIFT				    13
#define MADERA_ACCDET_SRC_WIDTH				     1
#define MADERA_ACCDET_POLARITY_INV_ENA			0x0080
#define MADERA_ACCDET_POLARITY_INV_ENA_MASK		0x0080
#define MADERA_ACCDET_POLARITY_INV_ENA_SHIFT		     7
#define MADERA_ACCDET_POLARITY_INV_ENA_WIDTH		     1
#define MADERA_ACCDET_MODE_MASK				0x0007
#define MADERA_ACCDET_MODE_SHIFT			     0
#define MADERA_ACCDET_MODE_WIDTH			     3

/* (0x0299)  Headphone_Detect_0 */
#define MADERA_HPD_GND_SEL				0x0007
#define MADERA_HPD_GND_SEL_MASK				0x0007
#define MADERA_HPD_GND_SEL_SHIFT			     0
#define MADERA_HPD_GND_SEL_WIDTH			     3
#define MADERA_HPD_SENSE_SEL				0x00F0
#define MADERA_HPD_SENSE_SEL_MASK			0x00F0
#define MADERA_HPD_SENSE_SEL_SHIFT			     4
#define MADERA_HPD_SENSE_SEL_WIDTH			     4
#define MADERA_HPD_FRC_SEL				0x0F00
#define MADERA_HPD_FRC_SEL_MASK				0x0F00
#define MADERA_HPD_FRC_SEL_SHIFT			     8
#define MADERA_HPD_FRC_SEL_WIDTH			     4
#define MADERA_HPD_OUT_SEL				0x7000
#define MADERA_HPD_OUT_SEL_MASK				0x7000
#define MADERA_HPD_OUT_SEL_SHIFT			    12
#define MADERA_HPD_OUT_SEL_WIDTH			     3
#define MADERA_HPD_OVD_ENA_SEL				0x8000
#define MADERA_HPD_OVD_ENA_SEL_MASK			0x8000
#define MADERA_HPD_OVD_ENA_SEL_SHIFT			    15
#define MADERA_HPD_OVD_ENA_SEL_WIDTH			     1

/* (0x029B)  Headphone_Detect_1 */
#define MADERA_HP_IMPEDANCE_RANGE_MASK			0x0600
#define MADERA_HP_IMPEDANCE_RANGE_SHIFT			     9
#define MADERA_HP_IMPEDANCE_RANGE_WIDTH			     2
#define MADERA_HP_STEP_SIZE				0x0100
#define MADERA_HP_STEP_SIZE_MASK			0x0100
#define MADERA_HP_STEP_SIZE_SHIFT			     8
#define MADERA_HP_STEP_SIZE_WIDTH			     1
#define MADERA_HP_CLK_DIV_MASK				0x0018
#define MADERA_HP_CLK_DIV_SHIFT				     3
#define MADERA_HP_CLK_DIV_WIDTH				     2
#define MADERA_HP_RATE_MASK				0x0006
#define MADERA_HP_RATE_SHIFT				     1
#define MADERA_HP_RATE_WIDTH				     2
#define MADERA_HP_POLL					0x0001
#define MADERA_HP_POLL_MASK				0x0001
#define MADERA_HP_POLL_SHIFT				     0
#define MADERA_HP_POLL_WIDTH				     1

/* (0x029C)  Headphone_Detect_2 */
#define MADERA_HP_DONE_MASK				0x8000
#define MADERA_HP_DONE_SHIFT				    15
#define MADERA_HP_DONE_WIDTH				     1
#define MADERA_HP_LVL_MASK				0x7FFF
#define MADERA_HP_LVL_SHIFT				     0
#define MADERA_HP_LVL_WIDTH				    15

/* (0x029D)  Headphone_Detect_3 */
#define MADERA_HP_DACVAL_MASK				0x03FF
#define MADERA_HP_DACVAL_SHIFT				     0
#define MADERA_HP_DACVAL_WIDTH				    10

/* (0x029F) - Headphone Detect 5 */
#define MADERA_HP_DACVAL_DOWN_MASK			0x03FF
#define MADERA_HP_DACVAL_DOWN_SHIFT			     0
#define MADERA_HP_DACVAL_DOWN_WIDTH			    10

/* (0x02A2)  Mic_Detect_1_Control_0 */
#define MADERA_MICD1_GND_MASK				0x0007
#define MADERA_MICD1_GND_SHIFT				     0
#define MADERA_MICD1_GND_WIDTH				     3
#define MADERA_MICD1_SENSE_MASK				0x00F0
#define MADERA_MICD1_SENSE_SHIFT			     4
#define MADERA_MICD1_SENSE_WIDTH			     4
#define MADERA_MICD1_ADC_MODE_MASK			0x8000
#define MADERA_MICD1_ADC_MODE_SHIFT			    15
#define MADERA_MICD1_ADC_MODE_WIDTH			     1

/* (0x02A3)  Mic_Detect_1_Control_1 */
#define MADERA_MICD_BIAS_STARTTIME_MASK			0xF000
#define MADERA_MICD_BIAS_STARTTIME_SHIFT		    12
#define MADERA_MICD_BIAS_STARTTIME_WIDTH		     4
#define MADERA_MICD_RATE_MASK				0x0F00
#define MADERA_MICD_RATE_SHIFT				     8
#define MADERA_MICD_RATE_WIDTH				     4
#define MADERA_MICD_BIAS_SRC_MASK			0x00F0
#define MADERA_MICD_BIAS_SRC_SHIFT			     4
#define MADERA_MICD_BIAS_SRC_WIDTH			     4
#define MADERA_MICD_DBTIME				0x0002
#define MADERA_MICD_DBTIME_MASK				0x0002
#define MADERA_MICD_DBTIME_SHIFT			     1
#define MADERA_MICD_DBTIME_WIDTH			     1
#define MADERA_MICD_ENA					0x0001
#define MADERA_MICD_ENA_MASK				0x0001
#define MADERA_MICD_ENA_SHIFT				     0
#define MADERA_MICD_ENA_WIDTH				     1

/* (0x02A4)  Mic_Detect_1_Control_2 */
#define MADERA_MICD_LVL_SEL_MASK			0x00FF
#define MADERA_MICD_LVL_SEL_SHIFT			     0
#define MADERA_MICD_LVL_SEL_WIDTH			     8

/* (0x02A5)  Mic_Detect_1_Control_3 */
#define MADERA_MICD_LVL_0				0x0004
#define MADERA_MICD_LVL_1				0x0008
#define MADERA_MICD_LVL_2				0x0010
#define MADERA_MICD_LVL_3				0x0020
#define MADERA_MICD_LVL_4				0x0040
#define MADERA_MICD_LVL_5				0x0080
#define MADERA_MICD_LVL_6				0x0100
#define MADERA_MICD_LVL_7				0x0200
#define MADERA_MICD_LVL_8				0x0400
#define MADERA_MICD_LVL_MASK				0x07FC
#define MADERA_MICD_LVL_SHIFT				     2
#define MADERA_MICD_LVL_WIDTH				     9
#define MADERA_MICD_VALID				0x0002
#define MADERA_MICD_VALID_MASK				0x0002
#define MADERA_MICD_VALID_SHIFT				     1
#define MADERA_MICD_VALID_WIDTH				     1
#define MADERA_MICD_STS					0x0001
#define MADERA_MICD_STS_MASK				0x0001
#define MADERA_MICD_STS_SHIFT				     0
#define MADERA_MICD_STS_WIDTH				     1

/* (0x02AB)  Mic_Detect_1_Control_4 */
#define MADERA_MICDET_ADCVAL_DIFF_MASK			0xFF00
#define MADERA_MICDET_ADCVAL_DIFF_SHIFT			     8
#define MADERA_MICDET_ADCVAL_DIFF_WIDTH			     8
#define MADERA_MICDET_ADCVAL_MASK			0x007F
#define MADERA_MICDET_ADCVAL_SHIFT			     0
#define MADERA_MICDET_ADCVAL_WIDTH			     7

/* (0x02C6)  Micd_Clamp_control */
#define MADERA_MICD_CLAMP_OVD				0x0010
#define MADERA_MICD_CLAMP_OVD_MASK			0x0010
#define MADERA_MICD_CLAMP_OVD_SHIFT			     4
#define MADERA_MICD_CLAMP_OVD_WIDTH			     1
#define MADERA_MICD_CLAMP_MODE_MASK			0x000F
#define MADERA_MICD_CLAMP_MODE_SHIFT			     0
#define MADERA_MICD_CLAMP_MODE_WIDTH			     4

/* (0x02C8)  GP_Switch_1 */
#define MADERA_SW2_MODE_MASK				0x000C
#define MADERA_SW2_MODE_SHIFT				     2
#define MADERA_SW2_MODE_WIDTH				     2
#define MADERA_SW1_MODE_MASK				0x0003
#define MADERA_SW1_MODE_SHIFT				     0
#define MADERA_SW1_MODE_WIDTH				     2

/* (0x02D3)  Jack_detect_analogue */
#define MADERA_JD2_ENA					0x0002
#define MADERA_JD2_ENA_MASK				0x0002
#define MADERA_JD2_ENA_SHIFT				     1
#define MADERA_JD2_ENA_WIDTH				     1
#define MADERA_JD1_ENA					0x0001
#define MADERA_JD1_ENA_MASK				0x0001
#define MADERA_JD1_ENA_SHIFT				     0
#define MADERA_JD1_ENA_WIDTH				     1

/* (0x0300)  Input_Enables */
#define MADERA_IN6L_ENA					0x0800
#define MADERA_IN6L_ENA_MASK				0x0800
#define MADERA_IN6L_ENA_SHIFT				    11
#define MADERA_IN6L_ENA_WIDTH				     1
#define MADERA_IN6R_ENA					0x0400
#define MADERA_IN6R_ENA_MASK				0x0400
#define MADERA_IN6R_ENA_SHIFT				    10
#define MADERA_IN6R_ENA_WIDTH				     1
#define MADERA_IN5L_ENA					0x0200
#define MADERA_IN5L_ENA_MASK				0x0200
#define MADERA_IN5L_ENA_SHIFT				     9
#define MADERA_IN5L_ENA_WIDTH				     1
#define MADERA_IN5R_ENA					0x0100
#define MADERA_IN5R_ENA_MASK				0x0100
#define MADERA_IN5R_ENA_SHIFT				     8
#define MADERA_IN5R_ENA_WIDTH				     1
#define MADERA_IN4L_ENA					0x0080
#define MADERA_IN4L_ENA_MASK				0x0080
#define MADERA_IN4L_ENA_SHIFT				     7
#define MADERA_IN4L_ENA_WIDTH				     1
#define MADERA_IN4R_ENA					0x0040
#define MADERA_IN4R_ENA_MASK				0x0040
#define MADERA_IN4R_ENA_SHIFT				     6
#define MADERA_IN4R_ENA_WIDTH				     1
#define MADERA_IN3L_ENA					0x0020
#define MADERA_IN3L_ENA_MASK				0x0020
#define MADERA_IN3L_ENA_SHIFT				     5
#define MADERA_IN3L_ENA_WIDTH				     1
#define MADERA_IN3R_ENA					0x0010
#define MADERA_IN3R_ENA_MASK				0x0010
#define MADERA_IN3R_ENA_SHIFT				     4
#define MADERA_IN3R_ENA_WIDTH				     1
#define MADERA_IN2L_ENA					0x0008
#define MADERA_IN2L_ENA_MASK				0x0008
#define MADERA_IN2L_ENA_SHIFT				     3
#define MADERA_IN2L_ENA_WIDTH				     1
#define MADERA_IN2R_ENA					0x0004
#define MADERA_IN2R_ENA_MASK				0x0004
#define MADERA_IN2R_ENA_SHIFT				     2
#define MADERA_IN2R_ENA_WIDTH				     1
#define MADERA_IN1L_ENA					0x0002
#define MADERA_IN1L_ENA_MASK				0x0002
#define MADERA_IN1L_ENA_SHIFT				     1
#define MADERA_IN1L_ENA_WIDTH				     1
#define MADERA_IN1R_ENA					0x0001
#define MADERA_IN1R_ENA_MASK				0x0001
#define MADERA_IN1R_ENA_SHIFT				     0
#define MADERA_IN1R_ENA_WIDTH				     1

/* (0x0308)  Input_Rate */
#define MADERA_IN_RATE_MASK				0xF800
#define MADERA_IN_RATE_SHIFT				    11
#define MADERA_IN_RATE_WIDTH				     5
#define MADERA_IN_MODE_MASK				0x0400
#define MADERA_IN_MODE_SHIFT				    10
#define MADERA_IN_MODE_WIDTH				     1

/* (0x0309)  Input_Volume_Ramp */
#define MADERA_IN_VD_RAMP_MASK				0x0070
#define MADERA_IN_VD_RAMP_SHIFT				     4
#define MADERA_IN_VD_RAMP_WIDTH				     3
#define MADERA_IN_VI_RAMP_MASK				0x0007
#define MADERA_IN_VI_RAMP_SHIFT				     0
#define MADERA_IN_VI_RAMP_WIDTH				     3

/* (0x030C)  HPF_Control */
#define MADERA_IN_HPF_CUT_MASK				0x0007
#define MADERA_IN_HPF_CUT_SHIFT				     0
#define MADERA_IN_HPF_CUT_WIDTH				     3

/* (0x0310)  IN1L_Control */
#define MADERA_IN1L_HPF_MASK				0x8000
#define MADERA_IN1L_HPF_SHIFT				    15
#define MADERA_IN1L_HPF_WIDTH				     1
#define MADERA_IN1_DMIC_SUP_MASK			0x1800
#define MADERA_IN1_DMIC_SUP_SHIFT			    11
#define MADERA_IN1_DMIC_SUP_WIDTH			     2
#define MADERA_IN1_MODE_MASK				0x0400
#define MADERA_IN1_MODE_SHIFT				    10
#define MADERA_IN1_MODE_WIDTH				     1
#define MADERA_IN1L_PGA_VOL_MASK			0x00FE
#define MADERA_IN1L_PGA_VOL_SHIFT			     1
#define MADERA_IN1L_PGA_VOL_WIDTH			     7

/* (0x0311)  ADC_Digital_Volume_1L */
#define MADERA_IN1L_SRC_MASK				0x4000
#define MADERA_IN1L_SRC_SHIFT				    14
#define MADERA_IN1L_SRC_WIDTH				     1
#define MADERA_IN1L_SRC_SE_MASK				0x2000
#define MADERA_IN1L_SRC_SE_SHIFT			    13
#define MADERA_IN1L_SRC_SE_WIDTH			     1
#define MADERA_IN1L_LP_MODE				0x0800
#define MADERA_IN1L_LP_MODE_MASK			0x0800
#define MADERA_IN1L_LP_MODE_SHIFT			    11
#define MADERA_IN1L_LP_MODE_WIDTH			     1
#define MADERA_IN_VU					0x0200
#define MADERA_IN_VU_MASK				0x0200
#define MADERA_IN_VU_SHIFT				     9
#define MADERA_IN_VU_WIDTH				     1
#define MADERA_IN1L_MUTE				0x0100
#define MADERA_IN1L_MUTE_MASK				0x0100
#define MADERA_IN1L_MUTE_SHIFT				     8
#define MADERA_IN1L_MUTE_WIDTH				     1
#define MADERA_IN1L_DIG_VOL_MASK			0x00FF
#define MADERA_IN1L_DIG_VOL_SHIFT			     0
#define MADERA_IN1L_DIG_VOL_WIDTH			     8

/* (0x0312)  DMIC1L_Control */
#define MADERA_IN1_OSR_MASK				0x0700
#define MADERA_IN1_OSR_SHIFT				     8
#define MADERA_IN1_OSR_WIDTH				     3

/* (0x0313)  IN1L_Rate_Control */
#define MADERA_IN1L_RATE_MASK				0xF800
#define MADERA_IN1L_RATE_SHIFT				    11
#define MADERA_IN1L_RATE_WIDTH				     5

/* (0x0314)  IN1R_Control */
#define MADERA_IN1R_HPF_MASK				0x8000
#define MADERA_IN1R_HPF_SHIFT				    15
#define MADERA_IN1R_HPF_WIDTH				     1
#define MADERA_IN1R_PGA_VOL_MASK			0x00FE
#define MADERA_IN1R_PGA_VOL_SHIFT			     1
#define MADERA_IN1R_PGA_VOL_WIDTH			     7
#define MADERA_IN1_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN1_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN1_DMICCLK_SRC_WIDTH			     2

/* (0x0315)  ADC_Digital_Volume_1R */
#define MADERA_IN1R_SRC_MASK				0x4000
#define MADERA_IN1R_SRC_SHIFT				    14
#define MADERA_IN1R_SRC_WIDTH				     1
#define MADERA_IN1R_SRC_SE_MASK				0x2000
#define MADERA_IN1R_SRC_SE_SHIFT			    13
#define MADERA_IN1R_SRC_SE_WIDTH			     1
#define MADERA_IN1R_LP_MODE				0x0800
#define MADERA_IN1R_LP_MODE_MASK			0x0800
#define MADERA_IN1R_LP_MODE_SHIFT			    11
#define MADERA_IN1R_LP_MODE_WIDTH			     1
#define MADERA_IN1R_MUTE				0x0100
#define MADERA_IN1R_MUTE_MASK				0x0100
#define MADERA_IN1R_MUTE_SHIFT				     8
#define MADERA_IN1R_MUTE_WIDTH				     1
#define MADERA_IN1R_DIG_VOL_MASK			0x00FF
#define MADERA_IN1R_DIG_VOL_SHIFT			     0
#define MADERA_IN1R_DIG_VOL_WIDTH			     8

/* (0x0317)  IN1R_Rate_Control */
#define MADERA_IN1R_RATE_MASK				0xF800
#define MADERA_IN1R_RATE_SHIFT				    11
#define MADERA_IN1R_RATE_WIDTH				     5

/* (0x0318)  IN2L_Control */
#define MADERA_IN2L_HPF_MASK				0x8000
#define MADERA_IN2L_HPF_SHIFT				    15
#define MADERA_IN2L_HPF_WIDTH				     1
#define MADERA_IN2_DMIC_SUP_MASK			0x1800
#define MADERA_IN2_DMIC_SUP_SHIFT			    11
#define MADERA_IN2_DMIC_SUP_WIDTH			     2
#define MADERA_IN2_MODE_MASK				0x0400
#define MADERA_IN2_MODE_SHIFT				    10
#define MADERA_IN2_MODE_WIDTH				     1
#define MADERA_IN2L_PGA_VOL_MASK			0x00FE
#define MADERA_IN2L_PGA_VOL_SHIFT			     1
#define MADERA_IN2L_PGA_VOL_WIDTH			     7

/* (0x0319)  ADC_Digital_Volume_2L */
#define MADERA_IN2L_SRC_MASK				0x4000
#define MADERA_IN2L_SRC_SHIFT				    14
#define MADERA_IN2L_SRC_WIDTH				     1
#define MADERA_IN2L_SRC_SE_MASK				0x2000
#define MADERA_IN2L_SRC_SE_SHIFT			    13
#define MADERA_IN2L_SRC_SE_WIDTH			     1
#define MADERA_IN2L_LP_MODE				0x0800
#define MADERA_IN2L_LP_MODE_MASK			0x0800
#define MADERA_IN2L_LP_MODE_SHIFT			    11
#define MADERA_IN2L_LP_MODE_WIDTH			     1
#define MADERA_IN2L_MUTE				0x0100
#define MADERA_IN2L_MUTE_MASK				0x0100
#define MADERA_IN2L_MUTE_SHIFT				     8
#define MADERA_IN2L_MUTE_WIDTH				     1
#define MADERA_IN2L_DIG_VOL_MASK			0x00FF
#define MADERA_IN2L_DIG_VOL_SHIFT			     0
#define MADERA_IN2L_DIG_VOL_WIDTH			     8

/* (0x031A)  DMIC2L_Control */
#define MADERA_IN2_OSR_MASK				0x0700
#define MADERA_IN2_OSR_SHIFT				     8
#define MADERA_IN2_OSR_WIDTH				     3

/* (0x031C)  IN2R_Control */
#define MADERA_IN2R_HPF_MASK				0x8000
#define MADERA_IN2R_HPF_SHIFT				    15
#define MADERA_IN2R_HPF_WIDTH				     1
#define MADERA_IN2R_PGA_VOL_MASK			0x00FE
#define MADERA_IN2R_PGA_VOL_SHIFT			     1
#define MADERA_IN2R_PGA_VOL_WIDTH			     7
#define MADERA_IN2_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN2_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN2_DMICCLK_SRC_WIDTH			     2

/* (0x031D)  ADC_Digital_Volume_2R */
#define MADERA_IN2R_SRC_MASK				0x4000
#define MADERA_IN2R_SRC_SHIFT				    14
#define MADERA_IN2R_SRC_WIDTH				     1
#define MADERA_IN2R_SRC_SE_MASK				0x2000
#define MADERA_IN2R_SRC_SE_SHIFT			    13
#define MADERA_IN2R_SRC_SE_WIDTH			     1
#define MADERA_IN2R_LP_MODE				0x0800
#define MADERA_IN2R_LP_MODE_MASK			0x0800
#define MADERA_IN2R_LP_MODE_SHIFT			    11
#define MADERA_IN2R_LP_MODE_WIDTH			     1
#define MADERA_IN2R_MUTE				0x0100
#define MADERA_IN2R_MUTE_MASK				0x0100
#define MADERA_IN2R_MUTE_SHIFT				     8
#define MADERA_IN2R_MUTE_WIDTH				     1
#define MADERA_IN2R_DIG_VOL_MASK			0x00FF
#define MADERA_IN2R_DIG_VOL_SHIFT			     0
#define MADERA_IN2R_DIG_VOL_WIDTH			     8

/* (0x0320)  IN3L_Control */
#define MADERA_IN3L_HPF_MASK				0x8000
#define MADERA_IN3L_HPF_SHIFT				    15
#define MADERA_IN3L_HPF_WIDTH				     1
#define MADERA_IN3_DMIC_SUP_MASK			0x1800
#define MADERA_IN3_DMIC_SUP_SHIFT			    11
#define MADERA_IN3_DMIC_SUP_WIDTH			     2
#define MADERA_IN3_MODE_MASK				0x0400
#define MADERA_IN3_MODE_SHIFT				    10
#define MADERA_IN3_MODE_WIDTH				     1
#define MADERA_IN3L_PGA_VOL_MASK			0x00FE
#define MADERA_IN3L_PGA_VOL_SHIFT			     1
#define MADERA_IN3L_PGA_VOL_WIDTH			     7

/* (0x0321)  ADC_Digital_Volume_3L */
#define MADERA_IN3L_MUTE				0x0100
#define MADERA_IN3L_MUTE_MASK				0x0100
#define MADERA_IN3L_MUTE_SHIFT				     8
#define MADERA_IN3L_MUTE_WIDTH				     1
#define MADERA_IN3L_DIG_VOL_MASK			0x00FF
#define MADERA_IN3L_DIG_VOL_SHIFT			     0
#define MADERA_IN3L_DIG_VOL_WIDTH			     8

/* (0x0322)  DMIC3L_Control */
#define MADERA_IN3_OSR_MASK				0x0700
#define MADERA_IN3_OSR_SHIFT				     8
#define MADERA_IN3_OSR_WIDTH				     3

/* (0x0324)  IN3R_Control */
#define MADERA_IN3R_HPF_MASK				0x8000
#define MADERA_IN3R_HPF_SHIFT				    15
#define MADERA_IN3R_HPF_WIDTH				     1
#define MADERA_IN3R_PGA_VOL_MASK			0x00FE
#define MADERA_IN3R_PGA_VOL_SHIFT			     1
#define MADERA_IN3R_PGA_VOL_WIDTH			     7
#define MADERA_IN3_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN3_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN3_DMICCLK_SRC_WIDTH			     2

/* (0x0325)  ADC_Digital_Volume_3R */
#define MADERA_IN3R_MUTE				0x0100
#define MADERA_IN3R_MUTE_MASK				0x0100
#define MADERA_IN3R_MUTE_SHIFT				     8
#define MADERA_IN3R_MUTE_WIDTH				     1
#define MADERA_IN3R_DIG_VOL_MASK			0x00FF
#define MADERA_IN3R_DIG_VOL_SHIFT			     0
#define MADERA_IN3R_DIG_VOL_WIDTH			     8

/* (0x0328)  IN4L_Control */
#define MADERA_IN4L_HPF_MASK				0x8000
#define MADERA_IN4L_HPF_SHIFT				    15
#define MADERA_IN4L_HPF_WIDTH				     1
#define MADERA_IN4_DMIC_SUP_MASK			0x1800
#define MADERA_IN4_DMIC_SUP_SHIFT			    11
#define MADERA_IN4_DMIC_SUP_WIDTH			     2

/* (0x0329)  ADC_Digital_Volume_4L */
#define MADERA_IN4L_MUTE				0x0100
#define MADERA_IN4L_MUTE_MASK				0x0100
#define MADERA_IN4L_MUTE_SHIFT				     8
#define MADERA_IN4L_MUTE_WIDTH				     1
#define MADERA_IN4L_DIG_VOL_MASK			0x00FF
#define MADERA_IN4L_DIG_VOL_SHIFT			     0
#define MADERA_IN4L_DIG_VOL_WIDTH			     8

/* (0x032A)  DMIC4L_Control */
#define MADERA_IN4_OSR_MASK				0x0700
#define MADERA_IN4_OSR_SHIFT				     8
#define MADERA_IN4_OSR_WIDTH				     3

/* (0x032C)  IN4R_Control */
#define MADERA_IN4R_HPF_MASK				0x8000
#define MADERA_IN4R_HPF_SHIFT				    15
#define MADERA_IN4R_HPF_WIDTH				     1
#define MADERA_IN4_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN4_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN4_DMICCLK_SRC_WIDTH			     2

/* (0x032D)  ADC_Digital_Volume_4R */
#define MADERA_IN4R_MUTE				0x0100
#define MADERA_IN4R_MUTE_MASK				0x0100
#define MADERA_IN4R_MUTE_SHIFT				     8
#define MADERA_IN4R_MUTE_WIDTH				     1
#define MADERA_IN4R_DIG_VOL_MASK			0x00FF
#define MADERA_IN4R_DIG_VOL_SHIFT			     0
#define MADERA_IN4R_DIG_VOL_WIDTH			     8

/* (0x0330)  IN5L_Control */
#define MADERA_IN5L_HPF_MASK				0x8000
#define MADERA_IN5L_HPF_SHIFT				    15
#define MADERA_IN5L_HPF_WIDTH				     1
#define MADERA_IN5_DMIC_SUP_MASK			0x1800
#define MADERA_IN5_DMIC_SUP_SHIFT			    11
#define MADERA_IN5_DMIC_SUP_WIDTH			     2

/* (0x0331)  ADC_Digital_Volume_5L */
#define MADERA_IN5L_MUTE				0x0100
#define MADERA_IN5L_MUTE_MASK				0x0100
#define MADERA_IN5L_MUTE_SHIFT				     8
#define MADERA_IN5L_MUTE_WIDTH				     1
#define MADERA_IN5L_DIG_VOL_MASK			0x00FF
#define MADERA_IN5L_DIG_VOL_SHIFT			     0
#define MADERA_IN5L_DIG_VOL_WIDTH			     8

/* (0x0332)  DMIC5L_Control */
#define MADERA_IN5_OSR_MASK				0x0700
#define MADERA_IN5_OSR_SHIFT				     8
#define MADERA_IN5_OSR_WIDTH				     3

/* (0x0334)  IN5R_Control */
#define MADERA_IN5R_HPF_MASK				0x8000
#define MADERA_IN5R_HPF_SHIFT				    15
#define MADERA_IN5R_HPF_WIDTH				     1
#define MADERA_IN5_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN5_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN5_DMICCLK_SRC_WIDTH			     2

/* (0x0335)  ADC_Digital_Volume_5R */
#define MADERA_IN5R_MUTE				0x0100
#define MADERA_IN5R_MUTE_MASK				0x0100
#define MADERA_IN5R_MUTE_SHIFT				     8
#define MADERA_IN5R_MUTE_WIDTH				     1
#define MADERA_IN5R_DIG_VOL_MASK			0x00FF
#define MADERA_IN5R_DIG_VOL_SHIFT			     0
#define MADERA_IN5R_DIG_VOL_WIDTH			     8

/* (0x0338)  IN6L_Control */
#define MADERA_IN6L_HPF_MASK				0x8000
#define MADERA_IN6L_HPF_SHIFT				    15
#define MADERA_IN6L_HPF_WIDTH				     1
#define MADERA_IN6_DMIC_SUP_MASK			0x1800
#define MADERA_IN6_DMIC_SUP_SHIFT			    11
#define MADERA_IN6_DMIC_SUP_WIDTH			     2

/* (0x0339)  ADC_Digital_Volume_6L */
#define MADERA_IN6L_MUTE				0x0100
#define MADERA_IN6L_MUTE_MASK				0x0100
#define MADERA_IN6L_MUTE_SHIFT				     8
#define MADERA_IN6L_MUTE_WIDTH				     1
#define MADERA_IN6L_DIG_VOL_MASK			0x00FF
#define MADERA_IN6L_DIG_VOL_SHIFT			     0
#define MADERA_IN6L_DIG_VOL_WIDTH			     8

/* (0x033A)  DMIC6L_Control */
#define MADERA_IN6_OSR_MASK				0x0700
#define MADERA_IN6_OSR_SHIFT				     8
#define MADERA_IN6_OSR_WIDTH				     3

/* (0x033C)  IN6R_Control */
#define MADERA_IN6R_HPF_MASK				0x8000
#define MADERA_IN6R_HPF_SHIFT				    15
#define MADERA_IN6R_HPF_WIDTH				     1

/* (0x033D)  ADC_Digital_Volume_6R */
#define MADERA_IN6R_MUTE				0x0100
#define MADERA_IN6R_MUTE_MASK				0x0100
#define MADERA_IN6R_MUTE_SHIFT				     8
#define MADERA_IN6R_MUTE_WIDTH				     1
#define MADERA_IN6R_DIG_VOL_MASK			0x00FF
#define MADERA_IN6R_DIG_VOL_SHIFT			     0
#define MADERA_IN6R_DIG_VOL_WIDTH			     8

/* (0x033E)  DMIC6R_Control */
#define MADERA_IN6_DMICCLK_SRC_MASK			0x1800
#define MADERA_IN6_DMICCLK_SRC_SHIFT			    11
#define MADERA_IN6_DMICCLK_SRC_WIDTH			     2

/* (0x0400)  Output_Enables_1 */
#define MADERA_EP_SEL					0x8000
#define MADERA_EP_SEL_MASK				0x8000
#define MADERA_EP_SEL_SHIFT				    15
#define MADERA_EP_SEL_WIDTH				     1
#define MADERA_OUT6L_ENA				0x0800
#define MADERA_OUT6L_ENA_MASK				0x0800
#define MADERA_OUT6L_ENA_SHIFT				    11
#define MADERA_OUT6L_ENA_WIDTH				     1
#define MADERA_OUT6R_ENA				0x0400
#define MADERA_OUT6R_ENA_MASK				0x0400
#define MADERA_OUT6R_ENA_SHIFT				    10
#define MADERA_OUT6R_ENA_WIDTH				     1
#define MADERA_OUT5L_ENA				0x0200
#define MADERA_OUT5L_ENA_MASK				0x0200
#define MADERA_OUT5L_ENA_SHIFT				     9
#define MADERA_OUT5L_ENA_WIDTH				     1
#define MADERA_OUT5R_ENA				0x0100
#define MADERA_OUT5R_ENA_MASK				0x0100
#define MADERA_OUT5R_ENA_SHIFT				     8
#define MADERA_OUT5R_ENA_WIDTH				     1
#define MADERA_OUT4L_ENA				0x0080
#define MADERA_OUT4L_ENA_MASK				0x0080
#define MADERA_OUT4L_ENA_SHIFT				     7
#define MADERA_OUT4L_ENA_WIDTH				     1
#define MADERA_OUT4R_ENA				0x0040
#define MADERA_OUT4R_ENA_MASK				0x0040
#define MADERA_OUT4R_ENA_SHIFT				     6
#define MADERA_OUT4R_ENA_WIDTH				     1
#define MADERA_OUT3L_ENA				0x0020
#define MADERA_OUT3L_ENA_MASK				0x0020
#define MADERA_OUT3L_ENA_SHIFT				     5
#define MADERA_OUT3L_ENA_WIDTH				     1
#define MADERA_OUT3R_ENA				0x0010
#define MADERA_OUT3R_ENA_MASK				0x0010
#define MADERA_OUT3R_ENA_SHIFT				     4
#define MADERA_OUT3R_ENA_WIDTH				     1
#define MADERA_OUT2L_ENA				0x0008
#define MADERA_OUT2L_ENA_MASK				0x0008
#define MADERA_OUT2L_ENA_SHIFT				     3
#define MADERA_OUT2L_ENA_WIDTH				     1
#define MADERA_OUT2R_ENA				0x0004
#define MADERA_OUT2R_ENA_MASK				0x0004
#define MADERA_OUT2R_ENA_SHIFT				     2
#define MADERA_OUT2R_ENA_WIDTH				     1
#define MADERA_OUT1L_ENA				0x0002
#define MADERA_OUT1L_ENA_MASK				0x0002
#define MADERA_OUT1L_ENA_SHIFT				     1
#define MADERA_OUT1L_ENA_WIDTH				     1
#define MADERA_OUT1R_ENA				0x0001
#define MADERA_OUT1R_ENA_MASK				0x0001
#define MADERA_OUT1R_ENA_SHIFT				     0
#define MADERA_OUT1R_ENA_WIDTH				     1

/* (0x0409)  Output_Volume_Ramp */
#define MADERA_OUT_VD_RAMP_MASK				0x0070
#define MADERA_OUT_VD_RAMP_SHIFT			     4
#define MADERA_OUT_VD_RAMP_WIDTH			     3
#define MADERA_OUT_VI_RAMP_MASK				0x0007
#define MADERA_OUT_VI_RAMP_SHIFT			     0
#define MADERA_OUT_VI_RAMP_WIDTH			     3

/* (0x0410)  Output_Path_Config_1L */
#define MADERA_OUT1_MONO				0x1000
#define MADERA_OUT1_MONO_MASK				0x1000
#define MADERA_OUT1_MONO_SHIFT				    12
#define MADERA_OUT1_MONO_WIDTH				     1
#define MADERA_OUT1L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT1L_ANC_SRC_SHIFT			    10
#define MADERA_OUT1L_ANC_SRC_WIDTH			     2

/* (0x0411)  DAC_Digital_Volume_1L */
#define MADERA_OUT1L_VU					0x0200
#define MADERA_OUT1L_VU_MASK				0x0200
#define MADERA_OUT1L_VU_SHIFT				     9
#define MADERA_OUT1L_VU_WIDTH				     1
#define MADERA_OUT1L_MUTE				0x0100
#define MADERA_OUT1L_MUTE_MASK				0x0100
#define MADERA_OUT1L_MUTE_SHIFT				     8
#define MADERA_OUT1L_MUTE_WIDTH				     1
#define MADERA_OUT1L_VOL_MASK				0x00FF
#define MADERA_OUT1L_VOL_SHIFT				     0
#define MADERA_OUT1L_VOL_WIDTH				     8

/* (0x0412)  Output_Path_Config_1 */
#define MADERA_HP1_GND_SEL_MASK				0x0007
#define MADERA_HP1_GND_SEL_SHIFT			     0
#define MADERA_HP1_GND_SEL_WIDTH			     3

/* (0x0414)  Output_Path_Config_1R */
#define MADERA_OUT1R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT1R_ANC_SRC_SHIFT			    10
#define MADERA_OUT1R_ANC_SRC_WIDTH			     2

/* (0x0415)  DAC_Digital_Volume_1R */
#define MADERA_OUT1R_MUTE				0x0100
#define MADERA_OUT1R_MUTE_MASK				0x0100
#define MADERA_OUT1R_MUTE_SHIFT				     8
#define MADERA_OUT1R_MUTE_WIDTH				     1
#define MADERA_OUT1R_VOL_MASK				0x00FF
#define MADERA_OUT1R_VOL_SHIFT				     0
#define MADERA_OUT1R_VOL_WIDTH				     8

/* (0x0418)  Output_Path_Config_2L */
#define MADERA_OUT2L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT2L_ANC_SRC_SHIFT			    10
#define MADERA_OUT2L_ANC_SRC_WIDTH			     2

/* (0x0419)  DAC_Digital_Volume_2L */
#define MADERA_OUT2L_MUTE				0x0100
#define MADERA_OUT2L_MUTE_MASK				0x0100
#define MADERA_OUT2L_MUTE_SHIFT				     8
#define MADERA_OUT2L_MUTE_WIDTH				     1
#define MADERA_OUT2L_VOL_MASK				0x00FF
#define MADERA_OUT2L_VOL_SHIFT				     0
#define MADERA_OUT2L_VOL_WIDTH				     8

/* (0x041A)  Output_Path_Config_2 */
#define MADERA_HP2_GND_SEL_MASK				0x0007
#define MADERA_HP2_GND_SEL_SHIFT			     0
#define MADERA_HP2_GND_SEL_WIDTH			     3

/* (0x041C)  Output_Path_Config_2R */
#define MADERA_OUT2R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT2R_ANC_SRC_SHIFT			    10
#define MADERA_OUT2R_ANC_SRC_WIDTH			     2

/* (0x041D)  DAC_Digital_Volume_2R */
#define MADERA_OUT2R_MUTE				0x0100
#define MADERA_OUT2R_MUTE_MASK				0x0100
#define MADERA_OUT2R_MUTE_SHIFT				     8
#define MADERA_OUT2R_MUTE_WIDTH				     1
#define MADERA_OUT2R_VOL_MASK				0x00FF
#define MADERA_OUT2R_VOL_SHIFT				     0
#define MADERA_OUT2R_VOL_WIDTH				     8

/* (0x0420)  Output_Path_Config_3L */
#define MADERA_OUT3L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT3L_ANC_SRC_SHIFT			    10
#define MADERA_OUT3L_ANC_SRC_WIDTH			     2

/* (0x0421)  DAC_Digital_Volume_3L */
#define MADERA_OUT3L_MUTE				0x0100
#define MADERA_OUT3L_MUTE_MASK				0x0100
#define MADERA_OUT3L_MUTE_SHIFT				     8
#define MADERA_OUT3L_MUTE_WIDTH				     1
#define MADERA_OUT3L_VOL_MASK				0x00FF
#define MADERA_OUT3L_VOL_SHIFT				     0
#define MADERA_OUT3L_VOL_WIDTH				     8

/* (0x0424)  Output_Path_Config_3R */
#define MADERA_OUT3R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT3R_ANC_SRC_SHIFT			    10
#define MADERA_OUT3R_ANC_SRC_WIDTH			     2

/* (0x0425)  DAC_Digital_Volume_3R */
#define MADERA_OUT3R_MUTE				0x0100
#define MADERA_OUT3R_MUTE_MASK				0x0100
#define MADERA_OUT3R_MUTE_SHIFT				     8
#define MADERA_OUT3R_MUTE_WIDTH				     1
#define MADERA_OUT3R_VOL_MASK				0x00FF
#define MADERA_OUT3R_VOL_SHIFT				     0
#define MADERA_OUT3R_VOL_WIDTH				     8

/* (0x0428)  Output_Path_Config_4L */
#define MADERA_OUT4L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT4L_ANC_SRC_SHIFT			    10
#define MADERA_OUT4L_ANC_SRC_WIDTH			     2

/* (0x0429)  DAC_Digital_Volume_4L */
#define MADERA_OUT4L_MUTE				0x0100
#define MADERA_OUT4L_MUTE_MASK				0x0100
#define MADERA_OUT4L_MUTE_SHIFT				     8
#define MADERA_OUT4L_MUTE_WIDTH				     1
#define MADERA_OUT4L_VOL_MASK				0x00FF
#define MADERA_OUT4L_VOL_SHIFT				     0
#define MADERA_OUT4L_VOL_WIDTH				     8

/* (0x042C)  Output_Path_Config_4R */
#define MADERA_OUT4R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT4R_ANC_SRC_SHIFT			    10
#define MADERA_OUT4R_ANC_SRC_WIDTH			     2

/* (0x042D)  DAC_Digital_Volume_4R */
#define MADERA_OUT4R_MUTE				0x0100
#define MADERA_OUT4R_MUTE_MASK				0x0100
#define MADERA_OUT4R_MUTE_SHIFT				     8
#define MADERA_OUT4R_MUTE_WIDTH				     1
#define MADERA_OUT4R_VOL_MASK				0x00FF
#define MADERA_OUT4R_VOL_SHIFT				     0
#define MADERA_OUT4R_VOL_WIDTH				     8

/* (0x0430)  Output_Path_Config_5L */
#define MADERA_OUT5_OSR					0x2000
#define MADERA_OUT5_OSR_MASK				0x2000
#define MADERA_OUT5_OSR_SHIFT				    13
#define MADERA_OUT5_OSR_WIDTH				     1
#define MADERA_OUT5L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT5L_ANC_SRC_SHIFT			    10
#define MADERA_OUT5L_ANC_SRC_WIDTH			     2

/* (0x0431)  DAC_Digital_Volume_5L */
#define MADERA_OUT5L_MUTE				0x0100
#define MADERA_OUT5L_MUTE_MASK				0x0100
#define MADERA_OUT5L_MUTE_SHIFT				     8
#define MADERA_OUT5L_MUTE_WIDTH				     1
#define MADERA_OUT5L_VOL_MASK				0x00FF
#define MADERA_OUT5L_VOL_SHIFT				     0
#define MADERA_OUT5L_VOL_WIDTH				     8

/* (0x0434)  Output_Path_Config_5R */
#define MADERA_OUT5R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT5R_ANC_SRC_SHIFT			    10
#define MADERA_OUT5R_ANC_SRC_WIDTH			     2

/* (0x0435)  DAC_Digital_Volume_5R */
#define MADERA_OUT5R_MUTE				0x0100
#define MADERA_OUT5R_MUTE_MASK				0x0100
#define MADERA_OUT5R_MUTE_SHIFT				     8
#define MADERA_OUT5R_MUTE_WIDTH				     1
#define MADERA_OUT5R_VOL_MASK				0x00FF
#define MADERA_OUT5R_VOL_SHIFT				     0
#define MADERA_OUT5R_VOL_WIDTH				     8

/* (0x0438)  Output_Path_Config_6L */
#define MADERA_OUT6_OSR					0x2000
#define MADERA_OUT6_OSR_MASK				0x2000
#define MADERA_OUT6_OSR_SHIFT				    13
#define MADERA_OUT6_OSR_WIDTH				     1
#define MADERA_OUT6L_ANC_SRC_MASK			0x0C00
#define MADERA_OUT6L_ANC_SRC_SHIFT			    10
#define MADERA_OUT6L_ANC_SRC_WIDTH			     2

/* (0x0439)  DAC_Digital_Volume_6L */
#define MADERA_OUT6L_MUTE				0x0100
#define MADERA_OUT6L_MUTE_MASK				0x0100
#define MADERA_OUT6L_MUTE_SHIFT				     8
#define MADERA_OUT6L_MUTE_WIDTH				     1
#define MADERA_OUT6L_VOL_MASK				0x00FF
#define MADERA_OUT6L_VOL_SHIFT				     0
#define MADERA_OUT6L_VOL_WIDTH				     8

/* (0x043C)  Output_Path_Config_6R */
#define MADERA_OUT6R_ANC_SRC_MASK			0x0C00
#define MADERA_OUT6R_ANC_SRC_SHIFT			    10
#define MADERA_OUT6R_ANC_SRC_WIDTH			     2

/* (0x043D)  DAC_Digital_Volume_6R */
#define MADERA_OUT6R_MUTE				0x0100
#define MADERA_OUT6R_MUTE_MASK				0x0100
#define MADERA_OUT6R_MUTE_SHIFT				     8
#define MADERA_OUT6R_MUTE_WIDTH				     1
#define MADERA_OUT6R_VOL_MASK				0x00FF
#define MADERA_OUT6R_VOL_SHIFT				     0
#define MADERA_OUT6R_VOL_WIDTH				     8

/* (0x0450) - DAC AEC Control 1 */
#define MADERA_AEC1_LOOPBACK_SRC_MASK			0x003C
#define MADERA_AEC1_LOOPBACK_SRC_SHIFT			     2
#define MADERA_AEC1_LOOPBACK_SRC_WIDTH			     4
#define MADERA_AEC1_ENA_STS				0x0002
#define MADERA_AEC1_ENA_STS_MASK			0x0002
#define MADERA_AEC1_ENA_STS_SHIFT			     1
#define MADERA_AEC1_ENA_STS_WIDTH			     1
#define MADERA_AEC1_LOOPBACK_ENA			0x0001
#define MADERA_AEC1_LOOPBACK_ENA_MASK			0x0001
#define MADERA_AEC1_LOOPBACK_ENA_SHIFT			     0
#define MADERA_AEC1_LOOPBACK_ENA_WIDTH			     1

/* (0x0451)  DAC_AEC_Control_2 */
#define MADERA_AEC2_LOOPBACK_SRC_MASK			0x003C
#define MADERA_AEC2_LOOPBACK_SRC_SHIFT			     2
#define MADERA_AEC2_LOOPBACK_SRC_WIDTH			     4
#define MADERA_AEC2_ENA_STS				0x0002
#define MADERA_AEC2_ENA_STS_MASK			0x0002
#define MADERA_AEC2_ENA_STS_SHIFT			     1
#define MADERA_AEC2_ENA_STS_WIDTH			     1
#define MADERA_AEC2_LOOPBACK_ENA			0x0001
#define MADERA_AEC2_LOOPBACK_ENA_MASK			0x0001
#define MADERA_AEC2_LOOPBACK_ENA_SHIFT			     0
#define MADERA_AEC2_LOOPBACK_ENA_WIDTH			     1

/* (0x0458)  Noise_Gate_Control */
#define MADERA_NGATE_HOLD_MASK				0x0030
#define MADERA_NGATE_HOLD_SHIFT				     4
#define MADERA_NGATE_HOLD_WIDTH				     2
#define MADERA_NGATE_THR_MASK				0x000E
#define MADERA_NGATE_THR_SHIFT				     1
#define MADERA_NGATE_THR_WIDTH				     3
#define MADERA_NGATE_ENA				0x0001
#define MADERA_NGATE_ENA_MASK				0x0001
#define MADERA_NGATE_ENA_SHIFT				     0
#define MADERA_NGATE_ENA_WIDTH				     1

/* (0x0490)  PDM_SPK1_CTRL_1 */
#define MADERA_SPK1R_MUTE				0x2000
#define MADERA_SPK1R_MUTE_MASK				0x2000
#define MADERA_SPK1R_MUTE_SHIFT				    13
#define MADERA_SPK1R_MUTE_WIDTH				     1
#define MADERA_SPK1L_MUTE				0x1000
#define MADERA_SPK1L_MUTE_MASK				0x1000
#define MADERA_SPK1L_MUTE_SHIFT				    12
#define MADERA_SPK1L_MUTE_WIDTH				     1
#define MADERA_SPK1_MUTE_ENDIAN				0x0100
#define MADERA_SPK1_MUTE_ENDIAN_MASK			0x0100
#define MADERA_SPK1_MUTE_ENDIAN_SHIFT			     8
#define MADERA_SPK1_MUTE_ENDIAN_WIDTH			     1
#define MADERA_SPK1_MUTE_SEQ1_MASK			0x00FF
#define MADERA_SPK1_MUTE_SEQ1_SHIFT			     0
#define MADERA_SPK1_MUTE_SEQ1_WIDTH			     8

/* (0x0491)  PDM_SPK1_CTRL_2 */
#define MADERA_SPK1_FMT					0x0001
#define MADERA_SPK1_FMT_MASK				0x0001
#define MADERA_SPK1_FMT_SHIFT				     0
#define MADERA_SPK1_FMT_WIDTH				     1

/* (0x0492)  PDM_SPK2_CTRL_1 */
#define MADERA_SPK2R_MUTE				0x2000
#define MADERA_SPK2R_MUTE_MASK				0x2000
#define MADERA_SPK2R_MUTE_SHIFT				    13
#define MADERA_SPK2R_MUTE_WIDTH				     1
#define MADERA_SPK2L_MUTE				0x1000
#define MADERA_SPK2L_MUTE_MASK				0x1000
#define MADERA_SPK2L_MUTE_SHIFT				    12
#define MADERA_SPK2L_MUTE_WIDTH				     1

/* (0x04A0) - HP1 Short Circuit Ctrl */
#define MADERA_HP1_SC_ENA				0x1000
#define MADERA_HP1_SC_ENA_MASK				0x1000
#define MADERA_HP1_SC_ENA_SHIFT				    12
#define MADERA_HP1_SC_ENA_WIDTH				     1

/* (0x04A1) - HP2 Short Circuit Ctrl */
#define MADERA_HP2_SC_ENA				0x1000
#define MADERA_HP2_SC_ENA_MASK				0x1000
#define MADERA_HP2_SC_ENA_SHIFT				    12
#define MADERA_HP2_SC_ENA_WIDTH				     1

/* (0x04A2) - HP3 Short Circuit Ctrl */
#define MADERA_HP3_SC_ENA				0x1000
#define MADERA_HP3_SC_ENA_MASK				0x1000
#define MADERA_HP3_SC_ENA_SHIFT				    12
#define MADERA_HP3_SC_ENA_WIDTH				     1

/* (0x04A8) - HP_Test_Ctrl_5 */
#define MADERA_HP1L_ONEFLT				0x0100
#define MADERA_HP1L_ONEFLT_MASK				0x0100
#define MADERA_HP1L_ONEFLT_SHIFT			     8
#define MADERA_HP1L_ONEFLT_WIDTH			     1

/* (0x04A9) - HP_Test_Ctrl_6 */
#define MADERA_HP1R_ONEFLT				0x0100
#define MADERA_HP1R_ONEFLT_MASK				0x0100
#define MADERA_HP1R_ONEFLT_SHIFT			     8
#define MADERA_HP1R_ONEFLT_WIDTH			     1

/* (0x0500)  AIF1_BCLK_Ctrl */
#define MADERA_AIF1_BCLK_INV				0x0080
#define MADERA_AIF1_BCLK_INV_MASK			0x0080
#define MADERA_AIF1_BCLK_INV_SHIFT			     7
#define MADERA_AIF1_BCLK_INV_WIDTH			     1
#define MADERA_AIF1_BCLK_MSTR				0x0020
#define MADERA_AIF1_BCLK_MSTR_MASK			0x0020
#define MADERA_AIF1_BCLK_MSTR_SHIFT			     5
#define MADERA_AIF1_BCLK_MSTR_WIDTH			     1
#define MADERA_AIF1_BCLK_FREQ_MASK			0x001F
#define MADERA_AIF1_BCLK_FREQ_SHIFT			     0
#define MADERA_AIF1_BCLK_FREQ_WIDTH			     5

/* (0x0501)  AIF1_Tx_Pin_Ctrl */
#define MADERA_AIF1TX_LRCLK_SRC				0x0008
#define MADERA_AIF1TX_LRCLK_SRC_MASK			0x0008
#define MADERA_AIF1TX_LRCLK_SRC_SHIFT			     3
#define MADERA_AIF1TX_LRCLK_SRC_WIDTH			     1
#define MADERA_AIF1TX_LRCLK_INV				0x0004
#define MADERA_AIF1TX_LRCLK_INV_MASK			0x0004
#define MADERA_AIF1TX_LRCLK_INV_SHIFT			     2
#define MADERA_AIF1TX_LRCLK_INV_WIDTH			     1
#define MADERA_AIF1TX_LRCLK_MSTR			0x0001
#define MADERA_AIF1TX_LRCLK_MSTR_MASK			0x0001
#define MADERA_AIF1TX_LRCLK_MSTR_SHIFT			     0
#define MADERA_AIF1TX_LRCLK_MSTR_WIDTH			     1

/* (0x0502)  AIF1_Rx_Pin_Ctrl */
#define MADERA_AIF1RX_LRCLK_INV				0x0004
#define MADERA_AIF1RX_LRCLK_INV_MASK			0x0004
#define MADERA_AIF1RX_LRCLK_INV_SHIFT			     2
#define MADERA_AIF1RX_LRCLK_INV_WIDTH			     1
#define MADERA_AIF1RX_LRCLK_FRC				0x0002
#define MADERA_AIF1RX_LRCLK_FRC_MASK			0x0002
#define MADERA_AIF1RX_LRCLK_FRC_SHIFT			     1
#define MADERA_AIF1RX_LRCLK_FRC_WIDTH			     1
#define MADERA_AIF1RX_LRCLK_MSTR			0x0001
#define MADERA_AIF1RX_LRCLK_MSTR_MASK			0x0001
#define MADERA_AIF1RX_LRCLK_MSTR_SHIFT			     0
#define MADERA_AIF1RX_LRCLK_MSTR_WIDTH			     1

/* (0x0503)  AIF1_Rate_Ctrl */
#define MADERA_AIF1_RATE_MASK				0xF800
#define MADERA_AIF1_RATE_SHIFT				    11
#define MADERA_AIF1_RATE_WIDTH				     5
#define MADERA_AIF1_TRI					0x0040
#define MADERA_AIF1_TRI_MASK				0x0040
#define MADERA_AIF1_TRI_SHIFT				     6
#define MADERA_AIF1_TRI_WIDTH				     1

/* (0x0504)  AIF1_Format */
#define MADERA_AIF1_FMT_MASK				0x0007
#define MADERA_AIF1_FMT_SHIFT				     0
#define MADERA_AIF1_FMT_WIDTH				     3

/* (0x0506)  AIF1_Rx_BCLK_Rate */
#define MADERA_AIF1RX_BCPF_MASK				0x1FFF
#define MADERA_AIF1RX_BCPF_SHIFT			     0
#define MADERA_AIF1RX_BCPF_WIDTH			    13

/* (0x0507)  AIF1_Frame_Ctrl_1 */
#define MADERA_AIF1TX_WL_MASK				0x3F00
#define MADERA_AIF1TX_WL_SHIFT				     8
#define MADERA_AIF1TX_WL_WIDTH				     6
#define MADERA_AIF1TX_SLOT_LEN_MASK			0x00FF
#define MADERA_AIF1TX_SLOT_LEN_SHIFT			     0
#define MADERA_AIF1TX_SLOT_LEN_WIDTH			     8

/* (0x0508)  AIF1_Frame_Ctrl_2 */
#define MADERA_AIF1RX_WL_MASK				0x3F00
#define MADERA_AIF1RX_WL_SHIFT				     8
#define MADERA_AIF1RX_WL_WIDTH				     6
#define MADERA_AIF1RX_SLOT_LEN_MASK			0x00FF
#define MADERA_AIF1RX_SLOT_LEN_SHIFT			     0
#define MADERA_AIF1RX_SLOT_LEN_WIDTH			     8

/* (0x0509)  AIF1_Frame_Ctrl_3 */
#define MADERA_AIF1TX1_SLOT_MASK			0x003F
#define MADERA_AIF1TX1_SLOT_SHIFT			     0
#define MADERA_AIF1TX1_SLOT_WIDTH			     6

/* (0x0519)  AIF1_Tx_Enables */
#define MADERA_AIF1TX8_ENA				0x0080
#define MADERA_AIF1TX8_ENA_MASK				0x0080
#define MADERA_AIF1TX8_ENA_SHIFT			     7
#define MADERA_AIF1TX8_ENA_WIDTH			     1
#define MADERA_AIF1TX7_ENA				0x0040
#define MADERA_AIF1TX7_ENA_MASK				0x0040
#define MADERA_AIF1TX7_ENA_SHIFT			     6
#define MADERA_AIF1TX7_ENA_WIDTH			     1
#define MADERA_AIF1TX6_ENA				0x0020
#define MADERA_AIF1TX6_ENA_MASK				0x0020
#define MADERA_AIF1TX6_ENA_SHIFT			     5
#define MADERA_AIF1TX6_ENA_WIDTH			     1
#define MADERA_AIF1TX5_ENA				0x0010
#define MADERA_AIF1TX5_ENA_MASK				0x0010
#define MADERA_AIF1TX5_ENA_SHIFT			     4
#define MADERA_AIF1TX5_ENA_WIDTH			     1
#define MADERA_AIF1TX4_ENA				0x0008
#define MADERA_AIF1TX4_ENA_MASK				0x0008
#define MADERA_AIF1TX4_ENA_SHIFT			     3
#define MADERA_AIF1TX4_ENA_WIDTH			     1
#define MADERA_AIF1TX3_ENA				0x0004
#define MADERA_AIF1TX3_ENA_MASK				0x0004
#define MADERA_AIF1TX3_ENA_SHIFT			     2
#define MADERA_AIF1TX3_ENA_WIDTH			     1
#define MADERA_AIF1TX2_ENA				0x0002
#define MADERA_AIF1TX2_ENA_MASK				0x0002
#define MADERA_AIF1TX2_ENA_SHIFT			     1
#define MADERA_AIF1TX2_ENA_WIDTH			     1
#define MADERA_AIF1TX1_ENA				0x0001
#define MADERA_AIF1TX1_ENA_MASK				0x0001
#define MADERA_AIF1TX1_ENA_SHIFT			     0
#define MADERA_AIF1TX1_ENA_WIDTH			     1

/* (0x051A)  AIF1_Rx_Enables */
#define MADERA_AIF1RX8_ENA				0x0080
#define MADERA_AIF1RX8_ENA_MASK				0x0080
#define MADERA_AIF1RX8_ENA_SHIFT			     7
#define MADERA_AIF1RX8_ENA_WIDTH			     1
#define MADERA_AIF1RX7_ENA				0x0040
#define MADERA_AIF1RX7_ENA_MASK				0x0040
#define MADERA_AIF1RX7_ENA_SHIFT			     6
#define MADERA_AIF1RX7_ENA_WIDTH			     1
#define MADERA_AIF1RX6_ENA				0x0020
#define MADERA_AIF1RX6_ENA_MASK				0x0020
#define MADERA_AIF1RX6_ENA_SHIFT			     5
#define MADERA_AIF1RX6_ENA_WIDTH			     1
#define MADERA_AIF1RX5_ENA				0x0010
#define MADERA_AIF1RX5_ENA_MASK				0x0010
#define MADERA_AIF1RX5_ENA_SHIFT			     4
#define MADERA_AIF1RX5_ENA_WIDTH			     1
#define MADERA_AIF1RX4_ENA				0x0008
#define MADERA_AIF1RX4_ENA_MASK				0x0008
#define MADERA_AIF1RX4_ENA_SHIFT			     3
#define MADERA_AIF1RX4_ENA_WIDTH			     1
#define MADERA_AIF1RX3_ENA				0x0004
#define MADERA_AIF1RX3_ENA_MASK				0x0004
#define MADERA_AIF1RX3_ENA_SHIFT			     2
#define MADERA_AIF1RX3_ENA_WIDTH			     1
#define MADERA_AIF1RX2_ENA				0x0002
#define MADERA_AIF1RX2_ENA_MASK				0x0002
#define MADERA_AIF1RX2_ENA_SHIFT			     1
#define MADERA_AIF1RX2_ENA_WIDTH			     1
#define MADERA_AIF1RX1_ENA				0x0001
#define MADERA_AIF1RX1_ENA_MASK				0x0001
#define MADERA_AIF1RX1_ENA_SHIFT			     0
#define MADERA_AIF1RX1_ENA_WIDTH			     1

/* (0x0559)  AIF2_Tx_Enables */
#define MADERA_AIF2TX8_ENA				0x0080
#define MADERA_AIF2TX8_ENA_MASK				0x0080
#define MADERA_AIF2TX8_ENA_SHIFT			     7
#define MADERA_AIF2TX8_ENA_WIDTH			     1
#define MADERA_AIF2TX7_ENA				0x0040
#define MADERA_AIF2TX7_ENA_MASK				0x0040
#define MADERA_AIF2TX7_ENA_SHIFT			     6
#define MADERA_AIF2TX7_ENA_WIDTH			     1
#define MADERA_AIF2TX6_ENA				0x0020
#define MADERA_AIF2TX6_ENA_MASK				0x0020
#define MADERA_AIF2TX6_ENA_SHIFT			     5
#define MADERA_AIF2TX6_ENA_WIDTH			     1
#define MADERA_AIF2TX5_ENA				0x0010
#define MADERA_AIF2TX5_ENA_MASK				0x0010
#define MADERA_AIF2TX5_ENA_SHIFT			     4
#define MADERA_AIF2TX5_ENA_WIDTH			     1
#define MADERA_AIF2TX4_ENA				0x0008
#define MADERA_AIF2TX4_ENA_MASK				0x0008
#define MADERA_AIF2TX4_ENA_SHIFT			     3
#define MADERA_AIF2TX4_ENA_WIDTH			     1
#define MADERA_AIF2TX3_ENA				0x0004
#define MADERA_AIF2TX3_ENA_MASK				0x0004
#define MADERA_AIF2TX3_ENA_SHIFT			     2
#define MADERA_AIF2TX3_ENA_WIDTH			     1
#define MADERA_AIF2TX2_ENA				0x0002
#define MADERA_AIF2TX2_ENA_MASK				0x0002
#define MADERA_AIF2TX2_ENA_SHIFT			     1
#define MADERA_AIF2TX2_ENA_WIDTH			     1
#define MADERA_AIF2TX1_ENA				0x0001
#define MADERA_AIF2TX1_ENA_MASK				0x0001
#define MADERA_AIF2TX1_ENA_SHIFT			     0
#define MADERA_AIF2TX1_ENA_WIDTH			     1

/* (0x055A)  AIF2_Rx_Enables */
#define MADERA_AIF2RX8_ENA				0x0080
#define MADERA_AIF2RX8_ENA_MASK				0x0080
#define MADERA_AIF2RX8_ENA_SHIFT			     7
#define MADERA_AIF2RX8_ENA_WIDTH			     1
#define MADERA_AIF2RX7_ENA				0x0040
#define MADERA_AIF2RX7_ENA_MASK				0x0040
#define MADERA_AIF2RX7_ENA_SHIFT			     6
#define MADERA_AIF2RX7_ENA_WIDTH			     1
#define MADERA_AIF2RX6_ENA				0x0020
#define MADERA_AIF2RX6_ENA_MASK				0x0020
#define MADERA_AIF2RX6_ENA_SHIFT			     5
#define MADERA_AIF2RX6_ENA_WIDTH			     1
#define MADERA_AIF2RX5_ENA				0x0010
#define MADERA_AIF2RX5_ENA_MASK				0x0010
#define MADERA_AIF2RX5_ENA_SHIFT			     4
#define MADERA_AIF2RX5_ENA_WIDTH			     1
#define MADERA_AIF2RX4_ENA				0x0008
#define MADERA_AIF2RX4_ENA_MASK				0x0008
#define MADERA_AIF2RX4_ENA_SHIFT			     3
#define MADERA_AIF2RX4_ENA_WIDTH			     1
#define MADERA_AIF2RX3_ENA				0x0004
#define MADERA_AIF2RX3_ENA_MASK				0x0004
#define MADERA_AIF2RX3_ENA_SHIFT			     2
#define MADERA_AIF2RX3_ENA_WIDTH			     1
#define MADERA_AIF2RX2_ENA				0x0002
#define MADERA_AIF2RX2_ENA_MASK				0x0002
#define MADERA_AIF2RX2_ENA_SHIFT			     1
#define MADERA_AIF2RX2_ENA_WIDTH			     1
#define MADERA_AIF2RX1_ENA				0x0001
#define MADERA_AIF2RX1_ENA_MASK				0x0001
#define MADERA_AIF2RX1_ENA_SHIFT			     0
#define MADERA_AIF2RX1_ENA_WIDTH			     1

/* (0x0599)  AIF3_Tx_Enables */
#define MADERA_AIF3TX2_ENA				0x0002
#define MADERA_AIF3TX2_ENA_MASK				0x0002
#define MADERA_AIF3TX2_ENA_SHIFT			     1
#define MADERA_AIF3TX2_ENA_WIDTH			     1
#define MADERA_AIF3TX1_ENA				0x0001
#define MADERA_AIF3TX1_ENA_MASK				0x0001
#define MADERA_AIF3TX1_ENA_SHIFT			     0
#define MADERA_AIF3TX1_ENA_WIDTH			     1

/* (0x059A)  AIF3_Rx_Enables */
#define MADERA_AIF3RX2_ENA				0x0002
#define MADERA_AIF3RX2_ENA_MASK				0x0002
#define MADERA_AIF3RX2_ENA_SHIFT			     1
#define MADERA_AIF3RX2_ENA_WIDTH			     1
#define MADERA_AIF3RX1_ENA				0x0001
#define MADERA_AIF3RX1_ENA_MASK				0x0001
#define MADERA_AIF3RX1_ENA_SHIFT			     0
#define MADERA_AIF3RX1_ENA_WIDTH			     1

/* (0x05B9)  AIF4_Tx_Enables */
#define MADERA_AIF4TX2_ENA				0x0002
#define MADERA_AIF4TX2_ENA_MASK				0x0002
#define MADERA_AIF4TX2_ENA_SHIFT			     1
#define MADERA_AIF4TX2_ENA_WIDTH			     1
#define MADERA_AIF4TX1_ENA				0x0001
#define MADERA_AIF4TX1_ENA_MASK				0x0001
#define MADERA_AIF4TX1_ENA_SHIFT			     0
#define MADERA_AIF4TX1_ENA_WIDTH			     1

/* (0x05BA)  AIF4_Rx_Enables */
#define MADERA_AIF4RX2_ENA				0x0002
#define MADERA_AIF4RX2_ENA_MASK				0x0002
#define MADERA_AIF4RX2_ENA_SHIFT			     1
#define MADERA_AIF4RX2_ENA_WIDTH			     1
#define MADERA_AIF4RX1_ENA				0x0001
#define MADERA_AIF4RX1_ENA_MASK				0x0001
#define MADERA_AIF4RX1_ENA_SHIFT			     0
#define MADERA_AIF4RX1_ENA_WIDTH			     1

/* (0x05C2)  SPD1_TX_Control */
#define MADERA_SPD1_VAL2				0x2000
#define MADERA_SPD1_VAL2_MASK				0x2000
#define MADERA_SPD1_VAL2_SHIFT				    13
#define MADERA_SPD1_VAL2_WIDTH				     1
#define MADERA_SPD1_VAL1				0x1000
#define MADERA_SPD1_VAL1_MASK				0x1000
#define MADERA_SPD1_VAL1_SHIFT				    12
#define MADERA_SPD1_VAL1_WIDTH				     1
#define MADERA_SPD1_RATE_MASK				0x00F0
#define MADERA_SPD1_RATE_SHIFT				     4
#define MADERA_SPD1_RATE_WIDTH				     4
#define MADERA_SPD1_ENA					0x0001
#define MADERA_SPD1_ENA_MASK				0x0001
#define MADERA_SPD1_ENA_SHIFT				     0
#define MADERA_SPD1_ENA_WIDTH				     1

/* (0x05F5)  SLIMbus_RX_Channel_Enable */
#define MADERA_SLIMRX8_ENA				0x0080
#define MADERA_SLIMRX8_ENA_MASK				0x0080
#define MADERA_SLIMRX8_ENA_SHIFT			     7
#define MADERA_SLIMRX8_ENA_WIDTH			     1
#define MADERA_SLIMRX7_ENA				0x0040
#define MADERA_SLIMRX7_ENA_MASK				0x0040
#define MADERA_SLIMRX7_ENA_SHIFT			     6
#define MADERA_SLIMRX7_ENA_WIDTH			     1
#define MADERA_SLIMRX6_ENA				0x0020
#define MADERA_SLIMRX6_ENA_MASK				0x0020
#define MADERA_SLIMRX6_ENA_SHIFT			     5
#define MADERA_SLIMRX6_ENA_WIDTH			     1
#define MADERA_SLIMRX5_ENA				0x0010
#define MADERA_SLIMRX5_ENA_MASK				0x0010
#define MADERA_SLIMRX5_ENA_SHIFT			     4
#define MADERA_SLIMRX5_ENA_WIDTH			     1
#define MADERA_SLIMRX4_ENA				0x0008
#define MADERA_SLIMRX4_ENA_MASK				0x0008
#define MADERA_SLIMRX4_ENA_SHIFT			     3
#define MADERA_SLIMRX4_ENA_WIDTH			     1
#define MADERA_SLIMRX3_ENA				0x0004
#define MADERA_SLIMRX3_ENA_MASK				0x0004
#define MADERA_SLIMRX3_ENA_SHIFT			     2
#define MADERA_SLIMRX3_ENA_WIDTH			     1
#define MADERA_SLIMRX2_ENA				0x0002
#define MADERA_SLIMRX2_ENA_MASK				0x0002
#define MADERA_SLIMRX2_ENA_SHIFT			     1
#define MADERA_SLIMRX2_ENA_WIDTH			     1
#define MADERA_SLIMRX1_ENA				0x0001
#define MADERA_SLIMRX1_ENA_MASK				0x0001
#define MADERA_SLIMRX1_ENA_SHIFT			     0
#define MADERA_SLIMRX1_ENA_WIDTH			     1

/* (0x05F6)  SLIMbus_TX_Channel_Enable */
#define MADERA_SLIMTX8_ENA				0x0080
#define MADERA_SLIMTX8_ENA_MASK				0x0080
#define MADERA_SLIMTX8_ENA_SHIFT			     7
#define MADERA_SLIMTX8_ENA_WIDTH			     1
#define MADERA_SLIMTX7_ENA				0x0040
#define MADERA_SLIMTX7_ENA_MASK				0x0040
#define MADERA_SLIMTX7_ENA_SHIFT			     6
#define MADERA_SLIMTX7_ENA_WIDTH			     1
#define MADERA_SLIMTX6_ENA				0x0020
#define MADERA_SLIMTX6_ENA_MASK				0x0020
#define MADERA_SLIMTX6_ENA_SHIFT			     5
#define MADERA_SLIMTX6_ENA_WIDTH			     1
#define MADERA_SLIMTX5_ENA				0x0010
#define MADERA_SLIMTX5_ENA_MASK				0x0010
#define MADERA_SLIMTX5_ENA_SHIFT			     4
#define MADERA_SLIMTX5_ENA_WIDTH			     1
#define MADERA_SLIMTX4_ENA				0x0008
#define MADERA_SLIMTX4_ENA_MASK				0x0008
#define MADERA_SLIMTX4_ENA_SHIFT			     3
#define MADERA_SLIMTX4_ENA_WIDTH			     1
#define MADERA_SLIMTX3_ENA				0x0004
#define MADERA_SLIMTX3_ENA_MASK				0x0004
#define MADERA_SLIMTX3_ENA_SHIFT			     2
#define MADERA_SLIMTX3_ENA_WIDTH			     1
#define MADERA_SLIMTX2_ENA				0x0002
#define MADERA_SLIMTX2_ENA_MASK				0x0002
#define MADERA_SLIMTX2_ENA_SHIFT			     1
#define MADERA_SLIMTX2_ENA_WIDTH			     1
#define MADERA_SLIMTX1_ENA				0x0001
#define MADERA_SLIMTX1_ENA_MASK				0x0001
#define MADERA_SLIMTX1_ENA_SHIFT			     0
#define MADERA_SLIMTX1_ENA_WIDTH			     1

/* (0x0E10)  EQ1_1 */
#define MADERA_EQ1_B1_GAIN_MASK				0xF800
#define MADERA_EQ1_B1_GAIN_SHIFT			    11
#define MADERA_EQ1_B1_GAIN_WIDTH			     5
#define MADERA_EQ1_B2_GAIN_MASK				0x07C0
#define MADERA_EQ1_B2_GAIN_SHIFT			     6
#define MADERA_EQ1_B2_GAIN_WIDTH			     5
#define MADERA_EQ1_B3_GAIN_MASK				0x003E
#define MADERA_EQ1_B3_GAIN_SHIFT			     1
#define MADERA_EQ1_B3_GAIN_WIDTH			     5
#define MADERA_EQ1_ENA					0x0001
#define MADERA_EQ1_ENA_MASK				0x0001
#define MADERA_EQ1_ENA_SHIFT				     0
#define MADERA_EQ1_ENA_WIDTH				     1

/* (0x0E11)  EQ1_2 */
#define MADERA_EQ1_B4_GAIN_MASK				0xF800
#define MADERA_EQ1_B4_GAIN_SHIFT			    11
#define MADERA_EQ1_B4_GAIN_WIDTH			     5
#define MADERA_EQ1_B5_GAIN_MASK				0x07C0
#define MADERA_EQ1_B5_GAIN_SHIFT			     6
#define MADERA_EQ1_B5_GAIN_WIDTH			     5
#define MADERA_EQ1_B1_MODE				0x0001
#define MADERA_EQ1_B1_MODE_MASK				0x0001
#define MADERA_EQ1_B1_MODE_SHIFT			     0
#define MADERA_EQ1_B1_MODE_WIDTH			     1

/* (0x0E26)  EQ2_1 */
#define MADERA_EQ2_B1_GAIN_MASK				0xF800
#define MADERA_EQ2_B1_GAIN_SHIFT			    11
#define MADERA_EQ2_B1_GAIN_WIDTH			     5
#define MADERA_EQ2_B2_GAIN_MASK				0x07C0
#define MADERA_EQ2_B2_GAIN_SHIFT			     6
#define MADERA_EQ2_B2_GAIN_WIDTH			     5
#define MADERA_EQ2_B3_GAIN_MASK				0x003E
#define MADERA_EQ2_B3_GAIN_SHIFT			     1
#define MADERA_EQ2_B3_GAIN_WIDTH			     5
#define MADERA_EQ2_ENA					0x0001
#define MADERA_EQ2_ENA_MASK				0x0001
#define MADERA_EQ2_ENA_SHIFT				     0
#define MADERA_EQ2_ENA_WIDTH				     1

/* (0x0E27)  EQ2_2 */
#define MADERA_EQ2_B4_GAIN_MASK				0xF800
#define MADERA_EQ2_B4_GAIN_SHIFT			    11
#define MADERA_EQ2_B4_GAIN_WIDTH			     5
#define MADERA_EQ2_B5_GAIN_MASK				0x07C0
#define MADERA_EQ2_B5_GAIN_SHIFT			     6
#define MADERA_EQ2_B5_GAIN_WIDTH			     5
#define MADERA_EQ2_B1_MODE				0x0001
#define MADERA_EQ2_B1_MODE_MASK				0x0001
#define MADERA_EQ2_B1_MODE_SHIFT			     0
#define MADERA_EQ2_B1_MODE_WIDTH			     1

/* (0x0E3C)  EQ3_1 */
#define MADERA_EQ3_B1_GAIN_MASK				0xF800
#define MADERA_EQ3_B1_GAIN_SHIFT			    11
#define MADERA_EQ3_B1_GAIN_WIDTH			     5
#define MADERA_EQ3_B2_GAIN_MASK				0x07C0
#define MADERA_EQ3_B2_GAIN_SHIFT			     6
#define MADERA_EQ3_B2_GAIN_WIDTH			     5
#define MADERA_EQ3_B3_GAIN_MASK				0x003E
#define MADERA_EQ3_B3_GAIN_SHIFT			     1
#define MADERA_EQ3_B3_GAIN_WIDTH			     5
#define MADERA_EQ3_ENA					0x0001
#define MADERA_EQ3_ENA_MASK				0x0001
#define MADERA_EQ3_ENA_SHIFT				     0
#define MADERA_EQ3_ENA_WIDTH				     1

/* (0x0E3D)  EQ3_2 */
#define MADERA_EQ3_B4_GAIN_MASK				0xF800
#define MADERA_EQ3_B4_GAIN_SHIFT			    11
#define MADERA_EQ3_B4_GAIN_WIDTH			     5
#define MADERA_EQ3_B5_GAIN_MASK				0x07C0
#define MADERA_EQ3_B5_GAIN_SHIFT			     6
#define MADERA_EQ3_B5_GAIN_WIDTH			     5
#define MADERA_EQ3_B1_MODE				0x0001
#define MADERA_EQ3_B1_MODE_MASK				0x0001
#define MADERA_EQ3_B1_MODE_SHIFT			     0
#define MADERA_EQ3_B1_MODE_WIDTH			     1

/* (0x0E52)  EQ4_1 */
#define MADERA_EQ4_B1_GAIN_MASK				0xF800
#define MADERA_EQ4_B1_GAIN_SHIFT			    11
#define MADERA_EQ4_B1_GAIN_WIDTH			     5
#define MADERA_EQ4_B2_GAIN_MASK				0x07C0
#define MADERA_EQ4_B2_GAIN_SHIFT			     6
#define MADERA_EQ4_B2_GAIN_WIDTH			     5
#define MADERA_EQ4_B3_GAIN_MASK				0x003E
#define MADERA_EQ4_B3_GAIN_SHIFT			     1
#define MADERA_EQ4_B3_GAIN_WIDTH			     5
#define MADERA_EQ4_ENA					0x0001
#define MADERA_EQ4_ENA_MASK				0x0001
#define MADERA_EQ4_ENA_SHIFT				     0
#define MADERA_EQ4_ENA_WIDTH				     1

/* (0x0E53)  EQ4_2 */
#define MADERA_EQ4_B4_GAIN_MASK				0xF800
#define MADERA_EQ4_B4_GAIN_SHIFT			    11
#define MADERA_EQ4_B4_GAIN_WIDTH			     5
#define MADERA_EQ4_B5_GAIN_MASK				0x07C0
#define MADERA_EQ4_B5_GAIN_SHIFT			     6
#define MADERA_EQ4_B5_GAIN_WIDTH			     5
#define MADERA_EQ4_B1_MODE				0x0001
#define MADERA_EQ4_B1_MODE_MASK				0x0001
#define MADERA_EQ4_B1_MODE_SHIFT			     0
#define MADERA_EQ4_B1_MODE_WIDTH			     1

/* (0x0E80)  DRC1_ctrl1 */
#define MADERA_DRC1L_ENA				0x0002
#define MADERA_DRC1L_ENA_MASK				0x0002
#define MADERA_DRC1L_ENA_SHIFT				     1
#define MADERA_DRC1L_ENA_WIDTH				     1
#define MADERA_DRC1R_ENA				0x0001
#define MADERA_DRC1R_ENA_MASK				0x0001
#define MADERA_DRC1R_ENA_SHIFT				     0
#define MADERA_DRC1R_ENA_WIDTH				     1

/* (0x0E88)  DRC2_ctrl1 */
#define MADERA_DRC2L_ENA				0x0002
#define MADERA_DRC2L_ENA_MASK				0x0002
#define MADERA_DRC2L_ENA_SHIFT				     1
#define MADERA_DRC2L_ENA_WIDTH				     1
#define MADERA_DRC2R_ENA				0x0001
#define MADERA_DRC2R_ENA_MASK				0x0001
#define MADERA_DRC2R_ENA_SHIFT				     0
#define MADERA_DRC2R_ENA_WIDTH				     1

/* (0x0EC0)  HPLPF1_1 */
#define MADERA_LHPF1_MODE				0x0002
#define MADERA_LHPF1_MODE_MASK				0x0002
#define MADERA_LHPF1_MODE_SHIFT				     1
#define MADERA_LHPF1_MODE_WIDTH				     1
#define MADERA_LHPF1_ENA				0x0001
#define MADERA_LHPF1_ENA_MASK				0x0001
#define MADERA_LHPF1_ENA_SHIFT				     0
#define MADERA_LHPF1_ENA_WIDTH				     1

/* (0x0EC1)  HPLPF1_2 */
#define MADERA_LHPF1_COEFF_MASK				0xFFFF
#define MADERA_LHPF1_COEFF_SHIFT			     0
#define MADERA_LHPF1_COEFF_WIDTH			    16

/* (0x0EC4)  HPLPF2_1 */
#define MADERA_LHPF2_MODE				0x0002
#define MADERA_LHPF2_MODE_MASK				0x0002
#define MADERA_LHPF2_MODE_SHIFT				     1
#define MADERA_LHPF2_MODE_WIDTH				     1
#define MADERA_LHPF2_ENA				0x0001
#define MADERA_LHPF2_ENA_MASK				0x0001
#define MADERA_LHPF2_ENA_SHIFT				     0
#define MADERA_LHPF2_ENA_WIDTH				     1

/* (0x0EC5)  HPLPF2_2 */
#define MADERA_LHPF2_COEFF_MASK				0xFFFF
#define MADERA_LHPF2_COEFF_SHIFT			     0
#define MADERA_LHPF2_COEFF_WIDTH			    16

/* (0x0EC8)  HPLPF3_1 */
#define MADERA_LHPF3_MODE				0x0002
#define MADERA_LHPF3_MODE_MASK				0x0002
#define MADERA_LHPF3_MODE_SHIFT				     1
#define MADERA_LHPF3_MODE_WIDTH				     1
#define MADERA_LHPF3_ENA				0x0001
#define MADERA_LHPF3_ENA_MASK				0x0001
#define MADERA_LHPF3_ENA_SHIFT				     0
#define MADERA_LHPF3_ENA_WIDTH				     1

/* (0x0EC9)  HPLPF3_2 */
#define MADERA_LHPF3_COEFF_MASK				0xFFFF
#define MADERA_LHPF3_COEFF_SHIFT			     0
#define MADERA_LHPF3_COEFF_WIDTH			    16

/* (0x0ECC)  HPLPF4_1 */
#define MADERA_LHPF4_MODE				0x0002
#define MADERA_LHPF4_MODE_MASK				0x0002
#define MADERA_LHPF4_MODE_SHIFT				     1
#define MADERA_LHPF4_MODE_WIDTH				     1
#define MADERA_LHPF4_ENA				0x0001
#define MADERA_LHPF4_ENA_MASK				0x0001
#define MADERA_LHPF4_ENA_SHIFT				     0
#define MADERA_LHPF4_ENA_WIDTH				     1

/* (0x0ECD)  HPLPF4_2 */
#define MADERA_LHPF4_COEFF_MASK				0xFFFF
#define MADERA_LHPF4_COEFF_SHIFT			     0
#define MADERA_LHPF4_COEFF_WIDTH			    16

/* (0x0ED0)  ASRC2_ENABLE */
#define MADERA_ASRC2_IN2L_ENA				0x0008
#define MADERA_ASRC2_IN2L_ENA_MASK			0x0008
#define MADERA_ASRC2_IN2L_ENA_SHIFT			     3
#define MADERA_ASRC2_IN2L_ENA_WIDTH			     1
#define MADERA_ASRC2_IN2R_ENA				0x0004
#define MADERA_ASRC2_IN2R_ENA_MASK			0x0004
#define MADERA_ASRC2_IN2R_ENA_SHIFT			     2
#define MADERA_ASRC2_IN2R_ENA_WIDTH			     1
#define MADERA_ASRC2_IN1L_ENA				0x0002
#define MADERA_ASRC2_IN1L_ENA_MASK			0x0002
#define MADERA_ASRC2_IN1L_ENA_SHIFT			     1
#define MADERA_ASRC2_IN1L_ENA_WIDTH			     1
#define MADERA_ASRC2_IN1R_ENA				0x0001
#define MADERA_ASRC2_IN1R_ENA_MASK			0x0001
#define MADERA_ASRC2_IN1R_ENA_SHIFT			     0
#define MADERA_ASRC2_IN1R_ENA_WIDTH			     1

/* (0x0ED2)  ASRC2_RATE1 */
#define MADERA_ASRC2_RATE1_MASK				0xF800
#define MADERA_ASRC2_RATE1_SHIFT			    11
#define MADERA_ASRC2_RATE1_WIDTH			     5

/* (0x0ED3)  ASRC2_RATE2 */
#define MADERA_ASRC2_RATE2_MASK				0xF800
#define MADERA_ASRC2_RATE2_SHIFT			    11
#define MADERA_ASRC2_RATE2_WIDTH			     5

/* (0x0EE0)  ASRC1_ENABLE */
#define MADERA_ASRC1_IN2L_ENA				0x0008
#define MADERA_ASRC1_IN2L_ENA_MASK			0x0008
#define MADERA_ASRC1_IN2L_ENA_SHIFT			     3
#define MADERA_ASRC1_IN2L_ENA_WIDTH			     1
#define MADERA_ASRC1_IN2R_ENA				0x0004
#define MADERA_ASRC1_IN2R_ENA_MASK			0x0004
#define MADERA_ASRC1_IN2R_ENA_SHIFT			     2
#define MADERA_ASRC1_IN2R_ENA_WIDTH			     1
#define MADERA_ASRC1_IN1L_ENA				0x0002
#define MADERA_ASRC1_IN1L_ENA_MASK			0x0002
#define MADERA_ASRC1_IN1L_ENA_SHIFT			     1
#define MADERA_ASRC1_IN1L_ENA_WIDTH			     1
#define MADERA_ASRC1_IN1R_ENA				0x0001
#define MADERA_ASRC1_IN1R_ENA_MASK			0x0001
#define MADERA_ASRC1_IN1R_ENA_SHIFT			     0
#define MADERA_ASRC1_IN1R_ENA_WIDTH			     1

/* (0x0EE2)  ASRC1_RATE1 */
#define MADERA_ASRC1_RATE1_MASK				0xF800
#define MADERA_ASRC1_RATE1_SHIFT			    11
#define MADERA_ASRC1_RATE1_WIDTH			     5

/* (0x0EE3)  ASRC1_RATE2 */
#define MADERA_ASRC1_RATE2_MASK				0xF800
#define MADERA_ASRC1_RATE2_SHIFT			    11
#define MADERA_ASRC1_RATE2_WIDTH			     5

/* (0x0EF0) - ISRC1 CTRL 1 */
#define MADERA_ISRC1_FSH_MASK				0xF800
#define MADERA_ISRC1_FSH_SHIFT				    11
#define MADERA_ISRC1_FSH_WIDTH				     5
#define MADERA_ISRC1_CLK_SEL_MASK			0x0700
#define MADERA_ISRC1_CLK_SEL_SHIFT			     8
#define MADERA_ISRC1_CLK_SEL_WIDTH			     3

/* (0x0EF1)  ISRC1_CTRL_2 */
#define MADERA_ISRC1_FSL_MASK				0xF800
#define MADERA_ISRC1_FSL_SHIFT				    11
#define MADERA_ISRC1_FSL_WIDTH				     5

/* (0x0EF2)  ISRC1_CTRL_3 */
#define MADERA_ISRC1_INT1_ENA				0x8000
#define MADERA_ISRC1_INT1_ENA_MASK			0x8000
#define MADERA_ISRC1_INT1_ENA_SHIFT			    15
#define MADERA_ISRC1_INT1_ENA_WIDTH			     1
#define MADERA_ISRC1_INT2_ENA				0x4000
#define MADERA_ISRC1_INT2_ENA_MASK			0x4000
#define MADERA_ISRC1_INT2_ENA_SHIFT			    14
#define MADERA_ISRC1_INT2_ENA_WIDTH			     1
#define MADERA_ISRC1_INT3_ENA				0x2000
#define MADERA_ISRC1_INT3_ENA_MASK			0x2000
#define MADERA_ISRC1_INT3_ENA_SHIFT			    13
#define MADERA_ISRC1_INT3_ENA_WIDTH			     1
#define MADERA_ISRC1_INT4_ENA				0x1000
#define MADERA_ISRC1_INT4_ENA_MASK			0x1000
#define MADERA_ISRC1_INT4_ENA_SHIFT			    12
#define MADERA_ISRC1_INT4_ENA_WIDTH			     1
#define MADERA_ISRC1_DEC1_ENA				0x0200
#define MADERA_ISRC1_DEC1_ENA_MASK			0x0200
#define MADERA_ISRC1_DEC1_ENA_SHIFT			     9
#define MADERA_ISRC1_DEC1_ENA_WIDTH			     1
#define MADERA_ISRC1_DEC2_ENA				0x0100
#define MADERA_ISRC1_DEC2_ENA_MASK			0x0100
#define MADERA_ISRC1_DEC2_ENA_SHIFT			     8
#define MADERA_ISRC1_DEC2_ENA_WIDTH			     1
#define MADERA_ISRC1_DEC3_ENA				0x0080
#define MADERA_ISRC1_DEC3_ENA_MASK			0x0080
#define MADERA_ISRC1_DEC3_ENA_SHIFT			     7
#define MADERA_ISRC1_DEC3_ENA_WIDTH			     1
#define MADERA_ISRC1_DEC4_ENA				0x0040
#define MADERA_ISRC1_DEC4_ENA_MASK			0x0040
#define MADERA_ISRC1_DEC4_ENA_SHIFT			     6
#define MADERA_ISRC1_DEC4_ENA_WIDTH			     1
#define MADERA_ISRC1_NOTCH_ENA				0x0001
#define MADERA_ISRC1_NOTCH_ENA_MASK			0x0001
#define MADERA_ISRC1_NOTCH_ENA_SHIFT			     0
#define MADERA_ISRC1_NOTCH_ENA_WIDTH			     1

/* (0x0EF3)  ISRC2_CTRL_1 */
#define MADERA_ISRC2_FSH_MASK				0xF800
#define MADERA_ISRC2_FSH_SHIFT				    11
#define MADERA_ISRC2_FSH_WIDTH				     5
#define MADERA_ISRC2_CLK_SEL_MASK			0x0700
#define MADERA_ISRC2_CLK_SEL_SHIFT			     8
#define MADERA_ISRC2_CLK_SEL_WIDTH			     3

/* (0x0EF4)  ISRC2_CTRL_2 */
#define MADERA_ISRC2_FSL_MASK				0xF800
#define MADERA_ISRC2_FSL_SHIFT				    11
#define MADERA_ISRC2_FSL_WIDTH				     5

/* (0x0EF5)  ISRC2_CTRL_3 */
#define MADERA_ISRC2_INT1_ENA				0x8000
#define MADERA_ISRC2_INT1_ENA_MASK			0x8000
#define MADERA_ISRC2_INT1_ENA_SHIFT			    15
#define MADERA_ISRC2_INT1_ENA_WIDTH			     1
#define MADERA_ISRC2_INT2_ENA				0x4000
#define MADERA_ISRC2_INT2_ENA_MASK			0x4000
#define MADERA_ISRC2_INT2_ENA_SHIFT			    14
#define MADERA_ISRC2_INT2_ENA_WIDTH			     1
#define MADERA_ISRC2_INT3_ENA				0x2000
#define MADERA_ISRC2_INT3_ENA_MASK			0x2000
#define MADERA_ISRC2_INT3_ENA_SHIFT			    13
#define MADERA_ISRC2_INT3_ENA_WIDTH			     1
#define MADERA_ISRC2_INT4_ENA				0x1000
#define MADERA_ISRC2_INT4_ENA_MASK			0x1000
#define MADERA_ISRC2_INT4_ENA_SHIFT			    12
#define MADERA_ISRC2_INT4_ENA_WIDTH			     1
#define MADERA_ISRC2_DEC1_ENA				0x0200
#define MADERA_ISRC2_DEC1_ENA_MASK			0x0200
#define MADERA_ISRC2_DEC1_ENA_SHIFT			     9
#define MADERA_ISRC2_DEC1_ENA_WIDTH			     1
#define MADERA_ISRC2_DEC2_ENA				0x0100
#define MADERA_ISRC2_DEC2_ENA_MASK			0x0100
#define MADERA_ISRC2_DEC2_ENA_SHIFT			     8
#define MADERA_ISRC2_DEC2_ENA_WIDTH			     1
#define MADERA_ISRC2_DEC3_ENA				0x0080
#define MADERA_ISRC2_DEC3_ENA_MASK			0x0080
#define MADERA_ISRC2_DEC3_ENA_SHIFT			     7
#define MADERA_ISRC2_DEC3_ENA_WIDTH			     1
#define MADERA_ISRC2_DEC4_ENA				0x0040
#define MADERA_ISRC2_DEC4_ENA_MASK			0x0040
#define MADERA_ISRC2_DEC4_ENA_SHIFT			     6
#define MADERA_ISRC2_DEC4_ENA_WIDTH			     1
#define MADERA_ISRC2_NOTCH_ENA				0x0001
#define MADERA_ISRC2_NOTCH_ENA_MASK			0x0001
#define MADERA_ISRC2_NOTCH_ENA_SHIFT			     0
#define MADERA_ISRC2_NOTCH_ENA_WIDTH			     1

/* (0x0EF6)  ISRC3_CTRL_1 */
#define MADERA_ISRC3_FSH_MASK				0xF800
#define MADERA_ISRC3_FSH_SHIFT				    11
#define MADERA_ISRC3_FSH_WIDTH				     5
#define MADERA_ISRC3_CLK_SEL_MASK			0x0700
#define MADERA_ISRC3_CLK_SEL_SHIFT			     8
#define MADERA_ISRC3_CLK_SEL_WIDTH			     3

/* (0x0EF7)  ISRC3_CTRL_2 */
#define MADERA_ISRC3_FSL_MASK				0xF800
#define MADERA_ISRC3_FSL_SHIFT				    11
#define MADERA_ISRC3_FSL_WIDTH				     5

/* (0x0EF8)  ISRC3_CTRL_3 */
#define MADERA_ISRC3_INT1_ENA				0x8000
#define MADERA_ISRC3_INT1_ENA_MASK			0x8000
#define MADERA_ISRC3_INT1_ENA_SHIFT			    15
#define MADERA_ISRC3_INT1_ENA_WIDTH			     1
#define MADERA_ISRC3_INT2_ENA				0x4000
#define MADERA_ISRC3_INT2_ENA_MASK			0x4000
#define MADERA_ISRC3_INT2_ENA_SHIFT			    14
#define MADERA_ISRC3_INT2_ENA_WIDTH			     1
#define MADERA_ISRC3_INT3_ENA				0x2000
#define MADERA_ISRC3_INT3_ENA_MASK			0x2000
#define MADERA_ISRC3_INT3_ENA_SHIFT			    13
#define MADERA_ISRC3_INT3_ENA_WIDTH			     1
#define MADERA_ISRC3_INT4_ENA				0x1000
#define MADERA_ISRC3_INT4_ENA_MASK			0x1000
#define MADERA_ISRC3_INT4_ENA_SHIFT			    12
#define MADERA_ISRC3_INT4_ENA_WIDTH			     1
#define MADERA_ISRC3_DEC1_ENA				0x0200
#define MADERA_ISRC3_DEC1_ENA_MASK			0x0200
#define MADERA_ISRC3_DEC1_ENA_SHIFT			     9
#define MADERA_ISRC3_DEC1_ENA_WIDTH			     1
#define MADERA_ISRC3_DEC2_ENA				0x0100
#define MADERA_ISRC3_DEC2_ENA_MASK			0x0100
#define MADERA_ISRC3_DEC2_ENA_SHIFT			     8
#define MADERA_ISRC3_DEC2_ENA_WIDTH			     1
#define MADERA_ISRC3_DEC3_ENA				0x0080
#define MADERA_ISRC3_DEC3_ENA_MASK			0x0080
#define MADERA_ISRC3_DEC3_ENA_SHIFT			     7
#define MADERA_ISRC3_DEC3_ENA_WIDTH			     1
#define MADERA_ISRC3_DEC4_ENA				0x0040
#define MADERA_ISRC3_DEC4_ENA_MASK			0x0040
#define MADERA_ISRC3_DEC4_ENA_SHIFT			     6
#define MADERA_ISRC3_DEC4_ENA_WIDTH			     1
#define MADERA_ISRC3_NOTCH_ENA				0x0001
#define MADERA_ISRC3_NOTCH_ENA_MASK			0x0001
#define MADERA_ISRC3_NOTCH_ENA_SHIFT			     0
#define MADERA_ISRC3_NOTCH_ENA_WIDTH			     1

/* (0x0EF9)  ISRC4_CTRL_1 */
#define MADERA_ISRC4_FSH_MASK				0xF800
#define MADERA_ISRC4_FSH_SHIFT				    11
#define MADERA_ISRC4_FSH_WIDTH				     5
#define MADERA_ISRC4_CLK_SEL_MASK			0x0700
#define MADERA_ISRC4_CLK_SEL_SHIFT			     8
#define MADERA_ISRC4_CLK_SEL_WIDTH			     3

/* (0x0EFA)  ISRC4_CTRL_2 */
#define MADERA_ISRC4_FSL_MASK				0xF800
#define MADERA_ISRC4_FSL_SHIFT				    11
#define MADERA_ISRC4_FSL_WIDTH				     5

/* (0x0EFB)  ISRC4_CTRL_3 */
#define MADERA_ISRC4_INT1_ENA				0x8000
#define MADERA_ISRC4_INT1_ENA_MASK			0x8000
#define MADERA_ISRC4_INT1_ENA_SHIFT			    15
#define MADERA_ISRC4_INT1_ENA_WIDTH			     1
#define MADERA_ISRC4_INT2_ENA				0x4000
#define MADERA_ISRC4_INT2_ENA_MASK			0x4000
#define MADERA_ISRC4_INT2_ENA_SHIFT			    14
#define MADERA_ISRC4_INT2_ENA_WIDTH			     1
#define MADERA_ISRC4_INT3_ENA				0x2000
#define MADERA_ISRC4_INT3_ENA_MASK			0x2000
#define MADERA_ISRC4_INT3_ENA_SHIFT			    13
#define MADERA_ISRC4_INT3_ENA_WIDTH			     1
#define MADERA_ISRC4_INT4_ENA				0x1000
#define MADERA_ISRC4_INT4_ENA_MASK			0x1000
#define MADERA_ISRC4_INT4_ENA_SHIFT			    12
#define MADERA_ISRC4_INT4_ENA_WIDTH			     1
#define MADERA_ISRC4_DEC1_ENA				0x0200
#define MADERA_ISRC4_DEC1_ENA_MASK			0x0200
#define MADERA_ISRC4_DEC1_ENA_SHIFT			     9
#define MADERA_ISRC4_DEC1_ENA_WIDTH			     1
#define MADERA_ISRC4_DEC2_ENA				0x0100
#define MADERA_ISRC4_DEC2_ENA_MASK			0x0100
#define MADERA_ISRC4_DEC2_ENA_SHIFT			     8
#define MADERA_ISRC4_DEC2_ENA_WIDTH			     1
#define MADERA_ISRC4_DEC3_ENA				0x0080
#define MADERA_ISRC4_DEC3_ENA_MASK			0x0080
#define MADERA_ISRC4_DEC3_ENA_SHIFT			     7
#define MADERA_ISRC4_DEC3_ENA_WIDTH			     1
#define MADERA_ISRC4_DEC4_ENA				0x0040
#define MADERA_ISRC4_DEC4_ENA_MASK			0x0040
#define MADERA_ISRC4_DEC4_ENA_SHIFT			     6
#define MADERA_ISRC4_DEC4_ENA_WIDTH			     1
#define MADERA_ISRC4_NOTCH_ENA				0x0001
#define MADERA_ISRC4_NOTCH_ENA_MASK			0x0001
#define MADERA_ISRC4_NOTCH_ENA_SHIFT			     0
#define MADERA_ISRC4_NOTCH_ENA_WIDTH			     1

/* (0x0F00)  Clock_Control */
#define MADERA_EXT_NG_SEL_CLR				0x0080
#define MADERA_EXT_NG_SEL_CLR_MASK			0x0080
#define MADERA_EXT_NG_SEL_CLR_SHIFT			     7
#define MADERA_EXT_NG_SEL_CLR_WIDTH			     1
#define MADERA_EXT_NG_SEL_SET				0x0040
#define MADERA_EXT_NG_SEL_SET_MASK			0x0040
#define MADERA_EXT_NG_SEL_SET_SHIFT			     6
#define MADERA_EXT_NG_SEL_SET_WIDTH			     1
#define MADERA_CLK_R_ENA_CLR				0x0020
#define MADERA_CLK_R_ENA_CLR_MASK			0x0020
#define MADERA_CLK_R_ENA_CLR_SHIFT			     5
#define MADERA_CLK_R_ENA_CLR_WIDTH			     1
#define MADERA_CLK_R_ENA_SET				0x0010
#define MADERA_CLK_R_ENA_SET_MASK			0x0010
#define MADERA_CLK_R_ENA_SET_SHIFT			     4
#define MADERA_CLK_R_ENA_SET_WIDTH			     1
#define MADERA_CLK_NG_ENA_CLR				0x0008
#define MADERA_CLK_NG_ENA_CLR_MASK			0x0008
#define MADERA_CLK_NG_ENA_CLR_SHIFT			     3
#define MADERA_CLK_NG_ENA_CLR_WIDTH			     1
#define MADERA_CLK_NG_ENA_SET				0x0004
#define MADERA_CLK_NG_ENA_SET_MASK			0x0004
#define MADERA_CLK_NG_ENA_SET_SHIFT			     2
#define MADERA_CLK_NG_ENA_SET_WIDTH			     1
#define MADERA_CLK_L_ENA_CLR				0x0002
#define MADERA_CLK_L_ENA_CLR_MASK			0x0002
#define MADERA_CLK_L_ENA_CLR_SHIFT			     1
#define MADERA_CLK_L_ENA_CLR_WIDTH			     1
#define MADERA_CLK_L_ENA_SET				0x0001
#define MADERA_CLK_L_ENA_SET_MASK			0x0001
#define MADERA_CLK_L_ENA_SET_SHIFT			     0
#define MADERA_CLK_L_ENA_SET_WIDTH			     1

/* (0x0F01)  ANC_SRC */
#define MADERA_IN_RXANCR_SEL_MASK			0x0070
#define MADERA_IN_RXANCR_SEL_SHIFT			     4
#define MADERA_IN_RXANCR_SEL_WIDTH			     3
#define MADERA_IN_RXANCL_SEL_MASK			0x0007
#define MADERA_IN_RXANCL_SEL_SHIFT			     0
#define MADERA_IN_RXANCL_SEL_WIDTH			     3

/* (0x0F17)  FCL_ADC_reformatter_control */
#define MADERA_FCL_MIC_MODE_SEL				0x000C
#define MADERA_FCL_MIC_MODE_SEL_SHIFT			     2
#define MADERA_FCL_MIC_MODE_SEL_WIDTH			     2

/* (0x0F73)  FCR_ADC_reformatter_control */
#define MADERA_FCR_MIC_MODE_SEL				0x000C
#define MADERA_FCR_MIC_MODE_SEL_SHIFT			     2
#define MADERA_FCR_MIC_MODE_SEL_WIDTH			     2

/* (0x1480)  DFC1_CTRL_W0 */
#define MADERA_DFC1_RATE_MASK				0x007C
#define MADERA_DFC1_RATE_SHIFT				     2
#define MADERA_DFC1_RATE_WIDTH				     5
#define MADERA_DFC1_DITH_ENA				0x0002
#define MADERA_DFC1_DITH_ENA_MASK			0x0002
#define MADERA_DFC1_DITH_ENA_SHIFT			     1
#define MADERA_DFC1_DITH_ENA_WIDTH			     1
#define MADERA_DFC1_ENA					0x0001
#define MADERA_DFC1_ENA_MASK				0x0001
#define MADERA_DFC1_ENA_SHIFT				     0
#define MADERA_DFC1_ENA_WIDTH				     1

/* (0x1482)  DFC1_RX_W0 */
#define MADERA_DFC1_RX_DATA_WIDTH_MASK			0x1F00
#define MADERA_DFC1_RX_DATA_WIDTH_SHIFT			     8
#define MADERA_DFC1_RX_DATA_WIDTH_WIDTH			     5

#define MADERA_DFC1_RX_DATA_TYPE_MASK			0x0007
#define MADERA_DFC1_RX_DATA_TYPE_SHIFT			     0
#define MADERA_DFC1_RX_DATA_TYPE_WIDTH			     3

/* (0x1484)  DFC1_TX_W0 */
#define MADERA_DFC1_TX_DATA_WIDTH_MASK			0x1F00
#define MADERA_DFC1_TX_DATA_WIDTH_SHIFT			     8
#define MADERA_DFC1_TX_DATA_WIDTH_WIDTH			     5

#define MADERA_DFC1_TX_DATA_TYPE_MASK			0x0007
#define MADERA_DFC1_TX_DATA_TYPE_SHIFT			     0
#define MADERA_DFC1_TX_DATA_TYPE_WIDTH			     3

/* (0x1600)  ADSP2_IRQ0 */
#define MADERA_DSP_IRQ2					0x0002
#define MADERA_DSP_IRQ1					0x0001

/* (0x1601)  ADSP2_IRQ1 */
#define MADERA_DSP_IRQ4					0x0002
#define MADERA_DSP_IRQ3					0x0001

/* (0x1602)  ADSP2_IRQ2 */
#define MADERA_DSP_IRQ6					0x0002
#define MADERA_DSP_IRQ5					0x0001

/* (0x1603)  ADSP2_IRQ3 */
#define MADERA_DSP_IRQ8					0x0002
#define MADERA_DSP_IRQ7					0x0001

/* (0x1604)  ADSP2_IRQ4 */
#define MADERA_DSP_IRQ10				0x0002
#define MADERA_DSP_IRQ9					0x0001

/* (0x1605)  ADSP2_IRQ5 */
#define MADERA_DSP_IRQ12				0x0002
#define MADERA_DSP_IRQ11				0x0001

/* (0x1606)  ADSP2_IRQ6 */
#define MADERA_DSP_IRQ14				0x0002
#define MADERA_DSP_IRQ13				0x0001

/* (0x1607)  ADSP2_IRQ7 */
#define MADERA_DSP_IRQ16				0x0002
#define MADERA_DSP_IRQ15				0x0001

/* (0x1700)  GPIO1_CTRL_1 */
#define MADERA_GP1_LVL					0x8000
#define MADERA_GP1_LVL_MASK				0x8000
#define MADERA_GP1_LVL_SHIFT				    15
#define MADERA_GP1_LVL_WIDTH				     1
#define MADERA_GP1_OP_CFG				0x4000
#define MADERA_GP1_OP_CFG_MASK				0x4000
#define MADERA_GP1_OP_CFG_SHIFT				    14
#define MADERA_GP1_OP_CFG_WIDTH				     1
#define MADERA_GP1_DB					0x2000
#define MADERA_GP1_DB_MASK				0x2000
#define MADERA_GP1_DB_SHIFT				    13
#define MADERA_GP1_DB_WIDTH				     1
#define MADERA_GP1_POL					0x1000
#define MADERA_GP1_POL_MASK				0x1000
#define MADERA_GP1_POL_SHIFT				    12
#define MADERA_GP1_POL_WIDTH				     1
#define MADERA_GP1_IP_CFG				0x0800
#define MADERA_GP1_IP_CFG_MASK				0x0800
#define MADERA_GP1_IP_CFG_SHIFT				    11
#define MADERA_GP1_IP_CFG_WIDTH				     1
#define MADERA_GP1_FN_MASK				0x03FF
#define MADERA_GP1_FN_SHIFT				     0
#define MADERA_GP1_FN_WIDTH				    10

/* (0x1701)  GPIO1_CTRL_2 */
#define MADERA_GP1_DIR					0x8000
#define MADERA_GP1_DIR_MASK				0x8000
#define MADERA_GP1_DIR_SHIFT				    15
#define MADERA_GP1_DIR_WIDTH				     1
#define MADERA_GP1_PU					0x4000
#define MADERA_GP1_PU_MASK				0x4000
#define MADERA_GP1_PU_SHIFT				    14
#define MADERA_GP1_PU_WIDTH				     1
#define MADERA_GP1_PD					0x2000
#define MADERA_GP1_PD_MASK				0x2000
#define MADERA_GP1_PD_SHIFT				    13
#define MADERA_GP1_PD_WIDTH				     1
#define MADERA_GP1_DRV_STR_MASK				0x1800
#define MADERA_GP1_DRV_STR_SHIFT			    11
#define MADERA_GP1_DRV_STR_WIDTH			     2

/* (0x1800)  IRQ1_Status_1 */
#define MADERA_CTRLIF_ERR_EINT1				0x1000
#define MADERA_CTRLIF_ERR_EINT1_MASK			0x1000
#define MADERA_CTRLIF_ERR_EINT1_SHIFT			    12
#define MADERA_CTRLIF_ERR_EINT1_WIDTH			     1
#define MADERA_SYSCLK_FAIL_EINT1			0x0200
#define MADERA_SYSCLK_FAIL_EINT1_MASK			0x0200
#define MADERA_SYSCLK_FAIL_EINT1_SHIFT			     9
#define MADERA_SYSCLK_FAIL_EINT1_WIDTH			     1
#define MADERA_CLOCK_DETECT_EINT1			0x0100
#define MADERA_CLOCK_DETECT_EINT1_MASK			0x0100
#define MADERA_CLOCK_DETECT_EINT1_SHIFT			     8
#define MADERA_CLOCK_DETECT_EINT1_WIDTH			     1
#define MADERA_BOOT_DONE_EINT1				0x0080
#define MADERA_BOOT_DONE_EINT1_MASK			0x0080
#define MADERA_BOOT_DONE_EINT1_SHIFT			     7
#define MADERA_BOOT_DONE_EINT1_WIDTH			     1

/* (0x1801)  IRQ1_Status_2 */
#define MADERA_FLLAO_LOCK_EINT1				0x0800
#define MADERA_FLLAO_LOCK_EINT1_MASK			0x0800
#define MADERA_FLLAO_LOCK_EINT1_SHIFT			    11
#define MADERA_FLLAO_LOCK_EINT1_WIDTH			     1
#define MADERA_FLL3_LOCK_EINT1				0x0400
#define MADERA_FLL3_LOCK_EINT1_MASK			0x0400
#define MADERA_FLL3_LOCK_EINT1_SHIFT			    10
#define MADERA_FLL3_LOCK_EINT1_WIDTH			     1
#define MADERA_FLL2_LOCK_EINT1				0x0200
#define MADERA_FLL2_LOCK_EINT1_MASK			0x0200
#define MADERA_FLL2_LOCK_EINT1_SHIFT			     9
#define MADERA_FLL2_LOCK_EINT1_WIDTH			     1
#define MADERA_FLL1_LOCK_EINT1				0x0100
#define MADERA_FLL1_LOCK_EINT1_MASK			0x0100
#define MADERA_FLL1_LOCK_EINT1_SHIFT			     8
#define MADERA_FLL1_LOCK_EINT1_WIDTH			     1

/* (0x1805)  IRQ1_Status_6 */
#define MADERA_MICDET2_EINT1				0x0200
#define MADERA_MICDET2_EINT1_MASK			0x0200
#define MADERA_MICDET2_EINT1_SHIFT			     9
#define MADERA_MICDET2_EINT1_WIDTH			     1
#define MADERA_MICDET1_EINT1				0x0100
#define MADERA_MICDET1_EINT1_MASK			0x0100
#define MADERA_MICDET1_EINT1_SHIFT			     8
#define MADERA_MICDET1_EINT1_WIDTH			     1
#define MADERA_HPDET_EINT1				0x0001
#define MADERA_HPDET_EINT1_MASK				0x0001
#define MADERA_HPDET_EINT1_SHIFT			     0
#define MADERA_HPDET_EINT1_WIDTH			     1

/* (0x1806)  IRQ1_Status_7 */
#define MADERA_MICD_CLAMP_FALL_EINT1			0x0020
#define MADERA_MICD_CLAMP_FALL_EINT1_MASK		0x0020
#define MADERA_MICD_CLAMP_FALL_EINT1_SHIFT		     5
#define MADERA_MICD_CLAMP_FALL_EINT1_WIDTH		     1
#define MADERA_MICD_CLAMP_RISE_EINT1			0x0010
#define MADERA_MICD_CLAMP_RISE_EINT1_MASK		0x0010
#define MADERA_MICD_CLAMP_RISE_EINT1_SHIFT		     4
#define MADERA_MICD_CLAMP_RISE_EINT1_WIDTH		     1
#define MADERA_JD2_FALL_EINT1				0x0008
#define MADERA_JD2_FALL_EINT1_MASK			0x0008
#define MADERA_JD2_FALL_EINT1_SHIFT			     3
#define MADERA_JD2_FALL_EINT1_WIDTH			     1
#define MADERA_JD2_RISE_EINT1				0x0004
#define MADERA_JD2_RISE_EINT1_MASK			0x0004
#define MADERA_JD2_RISE_EINT1_SHIFT			     2
#define MADERA_JD2_RISE_EINT1_WIDTH			     1
#define MADERA_JD1_FALL_EINT1				0x0002
#define MADERA_JD1_FALL_EINT1_MASK			0x0002
#define MADERA_JD1_FALL_EINT1_SHIFT			     1
#define MADERA_JD1_FALL_EINT1_WIDTH			     1
#define MADERA_JD1_RISE_EINT1				0x0001
#define MADERA_JD1_RISE_EINT1_MASK			0x0001
#define MADERA_JD1_RISE_EINT1_SHIFT			     0
#define MADERA_JD1_RISE_EINT1_WIDTH			     1

/* (0x1808)  IRQ1_Status_9 */
#define MADERA_ASRC2_IN2_LOCK_EINT1			0x0800
#define MADERA_ASRC2_IN2_LOCK_EINT1_MASK		0x0800
#define MADERA_ASRC2_IN2_LOCK_EINT1_SHIFT		    11
#define MADERA_ASRC2_IN2_LOCK_EINT1_WIDTH		     1
#define MADERA_ASRC2_IN1_LOCK_EINT1			0x0400
#define MADERA_ASRC2_IN1_LOCK_EINT1_MASK		0x0400
#define MADERA_ASRC2_IN1_LOCK_EINT1_SHIFT		    10
#define MADERA_ASRC2_IN1_LOCK_EINT1_WIDTH		     1
#define MADERA_ASRC1_IN2_LOCK_EINT1			0x0200
#define MADERA_ASRC1_IN2_LOCK_EINT1_MASK		0x0200
#define MADERA_ASRC1_IN2_LOCK_EINT1_SHIFT		     9
#define MADERA_ASRC1_IN2_LOCK_EINT1_WIDTH		     1
#define MADERA_ASRC1_IN1_LOCK_EINT1			0x0100
#define MADERA_ASRC1_IN1_LOCK_EINT1_MASK		0x0100
#define MADERA_ASRC1_IN1_LOCK_EINT1_SHIFT		     8
#define MADERA_ASRC1_IN1_LOCK_EINT1_WIDTH		     1
#define MADERA_DRC2_SIG_DET_EINT1			0x0002
#define MADERA_DRC2_SIG_DET_EINT1_MASK			0x0002
#define MADERA_DRC2_SIG_DET_EINT1_SHIFT			     1
#define MADERA_DRC2_SIG_DET_EINT1_WIDTH			     1
#define MADERA_DRC1_SIG_DET_EINT1			0x0001
#define MADERA_DRC1_SIG_DET_EINT1_MASK			0x0001
#define MADERA_DRC1_SIG_DET_EINT1_SHIFT			     0
#define MADERA_DRC1_SIG_DET_EINT1_WIDTH			     1

/* (0x180A)  IRQ1_Status_11 */
#define MADERA_DSP_IRQ16_EINT1				0x8000
#define MADERA_DSP_IRQ16_EINT1_MASK			0x8000
#define MADERA_DSP_IRQ16_EINT1_SHIFT			    15
#define MADERA_DSP_IRQ16_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ15_EINT1				0x4000
#define MADERA_DSP_IRQ15_EINT1_MASK			0x4000
#define MADERA_DSP_IRQ15_EINT1_SHIFT			    14
#define MADERA_DSP_IRQ15_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ14_EINT1				0x2000
#define MADERA_DSP_IRQ14_EINT1_MASK			0x2000
#define MADERA_DSP_IRQ14_EINT1_SHIFT			    13
#define MADERA_DSP_IRQ14_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ13_EINT1				0x1000
#define MADERA_DSP_IRQ13_EINT1_MASK			0x1000
#define MADERA_DSP_IRQ13_EINT1_SHIFT			    12
#define MADERA_DSP_IRQ13_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ12_EINT1				0x0800
#define MADERA_DSP_IRQ12_EINT1_MASK			0x0800
#define MADERA_DSP_IRQ12_EINT1_SHIFT			    11
#define MADERA_DSP_IRQ12_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ11_EINT1				0x0400
#define MADERA_DSP_IRQ11_EINT1_MASK			0x0400
#define MADERA_DSP_IRQ11_EINT1_SHIFT			    10
#define MADERA_DSP_IRQ11_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ10_EINT1				0x0200
#define MADERA_DSP_IRQ10_EINT1_MASK			0x0200
#define MADERA_DSP_IRQ10_EINT1_SHIFT			     9
#define MADERA_DSP_IRQ10_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ9_EINT1				0x0100
#define MADERA_DSP_IRQ9_EINT1_MASK			0x0100
#define MADERA_DSP_IRQ9_EINT1_SHIFT			     8
#define MADERA_DSP_IRQ9_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ8_EINT1				0x0080
#define MADERA_DSP_IRQ8_EINT1_MASK			0x0080
#define MADERA_DSP_IRQ8_EINT1_SHIFT			     7
#define MADERA_DSP_IRQ8_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ7_EINT1				0x0040
#define MADERA_DSP_IRQ7_EINT1_MASK			0x0040
#define MADERA_DSP_IRQ7_EINT1_SHIFT			     6
#define MADERA_DSP_IRQ7_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ6_EINT1				0x0020
#define MADERA_DSP_IRQ6_EINT1_MASK			0x0020
#define MADERA_DSP_IRQ6_EINT1_SHIFT			     5
#define MADERA_DSP_IRQ6_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ5_EINT1				0x0010
#define MADERA_DSP_IRQ5_EINT1_MASK			0x0010
#define MADERA_DSP_IRQ5_EINT1_SHIFT			     4
#define MADERA_DSP_IRQ5_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ4_EINT1				0x0008
#define MADERA_DSP_IRQ4_EINT1_MASK			0x0008
#define MADERA_DSP_IRQ4_EINT1_SHIFT			     3
#define MADERA_DSP_IRQ4_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ3_EINT1				0x0004
#define MADERA_DSP_IRQ3_EINT1_MASK			0x0004
#define MADERA_DSP_IRQ3_EINT1_SHIFT			     2
#define MADERA_DSP_IRQ3_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ2_EINT1				0x0002
#define MADERA_DSP_IRQ2_EINT1_MASK			0x0002
#define MADERA_DSP_IRQ2_EINT1_SHIFT			     1
#define MADERA_DSP_IRQ2_EINT1_WIDTH			     1
#define MADERA_DSP_IRQ1_EINT1				0x0001
#define MADERA_DSP_IRQ1_EINT1_MASK			0x0001
#define MADERA_DSP_IRQ1_EINT1_SHIFT			     0
#define MADERA_DSP_IRQ1_EINT1_WIDTH			     1

/* (0x180B)  IRQ1_Status_12 */
#define MADERA_SPKOUTR_SC_EINT1				0x0080
#define MADERA_SPKOUTR_SC_EINT1_MASK			0x0080
#define MADERA_SPKOUTR_SC_EINT1_SHIFT			     7
#define MADERA_SPKOUTR_SC_EINT1_WIDTH			     1
#define MADERA_SPKOUTL_SC_EINT1				0x0040
#define MADERA_SPKOUTL_SC_EINT1_MASK			0x0040
#define MADERA_SPKOUTL_SC_EINT1_SHIFT			     6
#define MADERA_SPKOUTL_SC_EINT1_WIDTH			     1
#define MADERA_HP3R_SC_EINT1				0x0020
#define MADERA_HP3R_SC_EINT1_MASK			0x0020
#define MADERA_HP3R_SC_EINT1_SHIFT			     5
#define MADERA_HP3R_SC_EINT1_WIDTH			     1
#define MADERA_HP3L_SC_EINT1				0x0010
#define MADERA_HP3L_SC_EINT1_MASK			0x0010
#define MADERA_HP3L_SC_EINT1_SHIFT			     4
#define MADERA_HP3L_SC_EINT1_WIDTH			     1
#define MADERA_HP2R_SC_EINT1				0x0008
#define MADERA_HP2R_SC_EINT1_MASK			0x0008
#define MADERA_HP2R_SC_EINT1_SHIFT			     3
#define MADERA_HP2R_SC_EINT1_WIDTH			     1
#define MADERA_HP2L_SC_EINT1				0x0004
#define MADERA_HP2L_SC_EINT1_MASK			0x0004
#define MADERA_HP2L_SC_EINT1_SHIFT			     2
#define MADERA_HP2L_SC_EINT1_WIDTH			     1
#define MADERA_HP1R_SC_EINT1				0x0002
#define MADERA_HP1R_SC_EINT1_MASK			0x0002
#define MADERA_HP1R_SC_EINT1_SHIFT			     1
#define MADERA_HP1R_SC_EINT1_WIDTH			     1
#define MADERA_HP1L_SC_EINT1				0x0001
#define MADERA_HP1L_SC_EINT1_MASK			0x0001
#define MADERA_HP1L_SC_EINT1_SHIFT			     0
#define MADERA_HP1L_SC_EINT1_WIDTH			     1

/* (0x180E)  IRQ1_Status_15 */
#define MADERA_SPK_OVERHEAT_WARN_EINT1			0x0004
#define MADERA_SPK_OVERHEAT_WARN_EINT1_MASK		0x0004
#define MADERA_SPK_OVERHEAT_WARN_EINT1_SHIFT		     2
#define MADERA_SPK_OVERHEAT_WARN_EINT1_WIDTH		     1
#define MADERA_SPK_OVERHEAT_EINT1			0x0002
#define MADERA_SPK_OVERHEAT_EINT1_MASK			0x0002
#define MADERA_SPK_OVERHEAT_EINT1_SHIFT			     1
#define MADERA_SPK_OVERHEAT_EINT1_WIDTH			     1
#define MADERA_SPK_SHUTDOWN_EINT1			0x0001
#define MADERA_SPK_SHUTDOWN_EINT1_MASK			0x0001
#define MADERA_SPK_SHUTDOWN_EINT1_SHIFT			     0
#define MADERA_SPK_SHUTDOWN_EINT1_WIDTH			     1

/* (0x1820) - IRQ1 Status 33 */
#define MADERA_DSP7_BUS_ERR_EINT1			0x0040
#define MADERA_DSP7_BUS_ERR_EINT1_MASK			0x0040
#define MADERA_DSP7_BUS_ERR_EINT1_SHIFT			     6
#define MADERA_DSP7_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP6_BUS_ERR_EINT1			0x0020
#define MADERA_DSP6_BUS_ERR_EINT1_MASK			0x0020
#define MADERA_DSP6_BUS_ERR_EINT1_SHIFT			     5
#define MADERA_DSP6_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP5_BUS_ERR_EINT1			0x0010
#define MADERA_DSP5_BUS_ERR_EINT1_MASK			0x0010
#define MADERA_DSP5_BUS_ERR_EINT1_SHIFT			     4
#define MADERA_DSP5_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP4_BUS_ERR_EINT1			0x0008
#define MADERA_DSP4_BUS_ERR_EINT1_MASK			0x0008
#define MADERA_DSP4_BUS_ERR_EINT1_SHIFT			     3
#define MADERA_DSP4_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP3_BUS_ERR_EINT1			0x0004
#define MADERA_DSP3_BUS_ERR_EINT1_MASK			0x0004
#define MADERA_DSP3_BUS_ERR_EINT1_SHIFT			     2
#define MADERA_DSP3_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP2_BUS_ERR_EINT1			0x0002
#define MADERA_DSP2_BUS_ERR_EINT1_MASK			0x0002
#define MADERA_DSP2_BUS_ERR_EINT1_SHIFT			     1
#define MADERA_DSP2_BUS_ERR_EINT1_WIDTH			     1
#define MADERA_DSP1_BUS_ERR_EINT1			0x0001
#define MADERA_DSP1_BUS_ERR_EINT1_MASK			0x0001
#define MADERA_DSP1_BUS_ERR_EINT1_SHIFT			     0
#define MADERA_DSP1_BUS_ERR_EINT1_WIDTH			     1

/* (0x1845)  IRQ1_Mask_6 */
#define MADERA_IM_MICDET2_EINT1				0x0200
#define MADERA_IM_MICDET2_EINT1_MASK			0x0200
#define MADERA_IM_MICDET2_EINT1_SHIFT			     9
#define MADERA_IM_MICDET2_EINT1_WIDTH			     1
#define MADERA_IM_MICDET1_EINT1				0x0100
#define MADERA_IM_MICDET1_EINT1_MASK			0x0100
#define MADERA_IM_MICDET1_EINT1_SHIFT			     8
#define MADERA_IM_MICDET1_EINT1_WIDTH			     1
#define MADERA_IM_HPDET_EINT1				0x0001
#define MADERA_IM_HPDET_EINT1_MASK			0x0001
#define MADERA_IM_HPDET_EINT1_SHIFT			     0
#define MADERA_IM_HPDET_EINT1_WIDTH			     1
/* (0x184E)  IRQ1_Mask_15 */
#define MADERA_IM_SPK_OVERHEAT_WARN_EINT1		0x0004
#define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_MASK		0x0004
#define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_SHIFT		     2
#define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_WIDTH		     1
#define MADERA_IM_SPK_OVERHEAT_EINT1			0x0002
#define MADERA_IM_SPK_OVERHEAT_EINT1_MASK		0x0002
#define MADERA_IM_SPK_OVERHEAT_EINT1_SHIFT		     1
#define MADERA_IM_SPK_OVERHEAT_EINT1_WIDTH		     1
#define MADERA_IM_SPK_SHUTDOWN_EINT1			0x0001
#define MADERA_IM_SPK_SHUTDOWN_EINT1_MASK		0x0001
#define MADERA_IM_SPK_SHUTDOWN_EINT1_SHIFT		     0
#define MADERA_IM_SPK_SHUTDOWN_EINT1_WIDTH		     1

/* (0x1880) - IRQ1 Raw Status 1 */
#define MADERA_CTRLIF_ERR_STS1				0x1000
#define MADERA_CTRLIF_ERR_STS1_MASK			0x1000
#define MADERA_CTRLIF_ERR_STS1_SHIFT			    12
#define MADERA_CTRLIF_ERR_STS1_WIDTH			     1
#define MADERA_SYSCLK_FAIL_STS1				0x0200
#define MADERA_SYSCLK_FAIL_STS1_MASK			0x0200
#define MADERA_SYSCLK_FAIL_STS1_SHIFT			     9
#define MADERA_SYSCLK_FAIL_STS1_WIDTH			     1
#define MADERA_CLOCK_DETECT_STS1			0x0100
#define MADERA_CLOCK_DETECT_STS1_MASK			0x0100
#define MADERA_CLOCK_DETECT_STS1_SHIFT			     8
#define MADERA_CLOCK_DETECT_STS1_WIDTH			     1
#define MADERA_BOOT_DONE_STS1				0x0080
#define MADERA_BOOT_DONE_STS1_MASK			0x0080
#define MADERA_BOOT_DONE_STS1_SHIFT			     7
#define MADERA_BOOT_DONE_STS1_WIDTH			     1

/* (0x1881) - IRQ1 Raw Status 2 */
#define MADERA_FLL3_LOCK_STS1				0x0400
#define MADERA_FLL3_LOCK_STS1_MASK			0x0400
#define MADERA_FLL3_LOCK_STS1_SHIFT			    10
#define MADERA_FLL3_LOCK_STS1_WIDTH			     1
#define MADERA_FLL2_LOCK_STS1				0x0200
#define MADERA_FLL2_LOCK_STS1_MASK			0x0200
#define MADERA_FLL2_LOCK_STS1_SHIFT			     9
#define MADERA_FLL2_LOCK_STS1_WIDTH			     1
#define MADERA_FLL1_LOCK_STS1				0x0100
#define MADERA_FLL1_LOCK_STS1_MASK			0x0100
#define MADERA_FLL1_LOCK_STS1_SHIFT			     8
#define MADERA_FLL1_LOCK_STS1_WIDTH			     1

/* (0x1886) - IRQ1 Raw Status 7 */
#define MADERA_MICD_CLAMP_FALL_STS1			0x0020
#define MADERA_MICD_CLAMP_FALL_STS1_MASK		0x0020
#define MADERA_MICD_CLAMP_FALL_STS1_SHIFT		     5
#define MADERA_MICD_CLAMP_FALL_STS1_WIDTH		     1
#define MADERA_MICD_CLAMP_RISE_STS1			0x0010
#define MADERA_MICD_CLAMP_RISE_STS1_MASK		0x0010
#define MADERA_MICD_CLAMP_RISE_STS1_SHIFT		     4
#define MADERA_MICD_CLAMP_RISE_STS1_WIDTH		     1
#define MADERA_JD2_FALL_STS1				0x0008
#define MADERA_JD2_FALL_STS1_MASK			0x0008
#define MADERA_JD2_FALL_STS1_SHIFT			     3
#define MADERA_JD2_FALL_STS1_WIDTH			     1
#define MADERA_JD2_RISE_STS1				0x0004
#define MADERA_JD2_RISE_STS1_MASK			0x0004
#define MADERA_JD2_RISE_STS1_SHIFT			     2
#define MADERA_JD2_RISE_STS1_WIDTH			     1
#define MADERA_JD1_FALL_STS1				0x0002
#define MADERA_JD1_FALL_STS1_MASK			0x0002
#define MADERA_JD1_FALL_STS1_SHIFT			     1
#define MADERA_JD1_FALL_STS1_WIDTH			     1
#define MADERA_JD1_RISE_STS1				0x0001
#define MADERA_JD1_RISE_STS1_MASK			0x0001
#define MADERA_JD1_RISE_STS1_SHIFT			     0
#define MADERA_JD1_RISE_STS1_WIDTH			     1

/* (0x188E) - IRQ1 Raw Status 15 */
#define MADERA_SPK_OVERHEAT_WARN_STS1			0x0004
#define MADERA_SPK_OVERHEAT_WARN_STS1_MASK		0x0004
#define MADERA_SPK_OVERHEAT_WARN_STS1_SHIFT		     2
#define MADERA_SPK_OVERHEAT_WARN_STS1_WIDTH		     1
#define MADERA_SPK_OVERHEAT_STS1			0x0002
#define MADERA_SPK_OVERHEAT_STS1_MASK			0x0002
#define MADERA_SPK_OVERHEAT_STS1_SHIFT			     1
#define MADERA_SPK_OVERHEAT_STS1_WIDTH			     1
#define MADERA_SPK_SHUTDOWN_STS1			0x0001
#define MADERA_SPK_SHUTDOWN_STS1_MASK			0x0001
#define MADERA_SPK_SHUTDOWN_STS1_SHIFT			     0
#define MADERA_SPK_SHUTDOWN_STS1_WIDTH			     1

/* (0x1A06)  Interrupt_Debounce_7 */
#define MADERA_MICD_CLAMP_DB				0x0010
#define MADERA_MICD_CLAMP_DB_MASK			0x0010
#define MADERA_MICD_CLAMP_DB_SHIFT			     4
#define MADERA_MICD_CLAMP_DB_WIDTH			     1
#define MADERA_JD2_DB					0x0004
#define MADERA_JD2_DB_MASK				0x0004
#define MADERA_JD2_DB_SHIFT				     2
#define MADERA_JD2_DB_WIDTH				     1
#define MADERA_JD1_DB					0x0001
#define MADERA_JD1_DB_MASK				0x0001
#define MADERA_JD1_DB_SHIFT				     0
#define MADERA_JD1_DB_WIDTH				     1

/* (0x1A0E)  Interrupt_Debounce_15 */
#define MADERA_SPK_OVERHEAT_WARN_DB			0x0004
#define MADERA_SPK_OVERHEAT_WARN_DB_MASK		0x0004
#define MADERA_SPK_OVERHEAT_WARN_DB_SHIFT		     2
#define MADERA_SPK_OVERHEAT_WARN_DB_WIDTH		     1
#define MADERA_SPK_OVERHEAT_DB				0x0002
#define MADERA_SPK_OVERHEAT_DB_MASK			0x0002
#define MADERA_SPK_OVERHEAT_DB_SHIFT			     1
#define MADERA_SPK_OVERHEAT_DB_WIDTH			     1

/* (0x1A80)  IRQ1_CTRL */
#define MADERA_IM_IRQ1					0x0800
#define MADERA_IM_IRQ1_MASK				0x0800
#define MADERA_IM_IRQ1_SHIFT				    11
#define MADERA_IM_IRQ1_WIDTH				     1
#define MADERA_IRQ_POL					0x0400
#define MADERA_IRQ_POL_MASK				0x0400
#define MADERA_IRQ_POL_SHIFT				    10
#define MADERA_IRQ_POL_WIDTH				     1

/* (0x20004)  OTP_HPDET_Cal_1 */
#define MADERA_OTP_HPDET_CALIB_OFFSET_11	    0xFF000000
#define MADERA_OTP_HPDET_CALIB_OFFSET_11_MASK	    0xFF000000
#define MADERA_OTP_HPDET_CALIB_OFFSET_11_SHIFT		    24
#define MADERA_OTP_HPDET_CALIB_OFFSET_11_WIDTH		     8
#define MADERA_OTP_HPDET_CALIB_OFFSET_10	    0x00FF0000
#define MADERA_OTP_HPDET_CALIB_OFFSET_10_MASK	    0x00FF0000
#define MADERA_OTP_HPDET_CALIB_OFFSET_10_SHIFT		    16
#define MADERA_OTP_HPDET_CALIB_OFFSET_10_WIDTH		     8
#define MADERA_OTP_HPDET_CALIB_OFFSET_01	    0x0000FF00
#define MADERA_OTP_HPDET_CALIB_OFFSET_01_MASK	    0x0000FF00
#define MADERA_OTP_HPDET_CALIB_OFFSET_01_SHIFT		     8
#define MADERA_OTP_HPDET_CALIB_OFFSET_01_WIDTH		     8
#define MADERA_OTP_HPDET_CALIB_OFFSET_00	    0x000000FF
#define MADERA_OTP_HPDET_CALIB_OFFSET_00_MASK	    0x000000FF
#define MADERA_OTP_HPDET_CALIB_OFFSET_00_SHIFT		     0
#define MADERA_OTP_HPDET_CALIB_OFFSET_00_WIDTH		     8

/* (0x20006)  OTP_HPDET_Cal_2 */
#define MADERA_OTP_HPDET_GRADIENT_1X		    0x0000FF00
#define MADERA_OTP_HPDET_GRADIENT_1X_MASK	    0x0000FF00
#define MADERA_OTP_HPDET_GRADIENT_1X_SHIFT		     8
#define MADERA_OTP_HPDET_GRADIENT_1X_WIDTH		     8
#define MADERA_OTP_HPDET_GRADIENT_0X		    0x000000FF
#define MADERA_OTP_HPDET_GRADIENT_0X_MASK	    0x000000FF
#define MADERA_OTP_HPDET_GRADIENT_0X_SHIFT		     0
#define MADERA_OTP_HPDET_GRADIENT_0X_WIDTH		     8

#endif