blob: d2ed9efe93d61d938f3f70e4b793633b8ad0466a [file] [log] [blame]
rick2492bfc2017-04-17 14:41:58 +08001/dts-v1/;
2/ {
3 compatible = "nds32 ag101p";
4 #address-cells = <1>;
5 #size-cells = <1>;
6 interrupt-parent = <&intc>;
7
8 aliases {
9 uart0 = &serial0;
rickdc24dac2017-05-23 13:48:27 +080010 ethernet0 = &mac0;
rick2492bfc2017-04-17 14:41:58 +080011 } ;
12
13 chosen {
14 /* bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0x99600000 debug bootmem_debug memblock=debug loglevel=7"; */
15 bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0x99600000 debug loglevel=7";
16 stdout-path = "uart0:38400n8";
rick6d564b82017-05-17 10:59:20 +080017 tick-timer = &timer0;
rick2492bfc2017-04-17 14:41:58 +080018 };
19
20 memory@0 {
21 device_type = "memory";
22 reg = <0x00000000 0x40000000>;
23 };
24
25 cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28 cpu@0 {
29 compatible = "andestech,n13";
30 reg = <0>;
31 /* FIXME: to fill correct frqeuency */
32 clock-frequency = <60000000>;
33 };
34 };
35
36 intc: interrupt-controller {
37 compatible = "andestech,atnointc010";
38 #interrupt-cells = <1>;
39 interrupt-controller;
40 };
41
42 serial0: serial@99600000 {
43 compatible = "andestech,uart16550", "ns16550a";
44 reg = <0x99600000 0x1000>;
45 interrupts = <7 4>;
46 clock-frequency = <14745600>;
47 reg-shift = <2>;
48 no-loopback-test = <1>;
49 };
50
rick6d564b82017-05-17 10:59:20 +080051 timer0: timer@98400000 {
52 compatible = "andestech,attmr010";
53 reg = <0x98400000 0x1000>;
54 interrupts = <19 4>;
55 clock-frequency = <15000000>;
56 };
57
rickdc24dac2017-05-23 13:48:27 +080058 mac0: mac@90900000 {
59 compatible = "andestech,atmac100";
60 reg = <0x90900000 0x1000>;
61 interrupts = <25 4>;
62 };
Rick Chenda1ad112017-06-01 15:09:25 +080063
64 mmc0: mmc@98e00000 {
Rick Chen9f768652019-01-15 13:30:35 +080065 compatible = "andestech,atfsdc010";
Rick Chenda1ad112017-06-01 15:09:25 +080066 max-frequency = <30000000>;
67 fifo-depth = <0x10>;
68 reg = <0x98e00000 0x1000>;
69 interrupts = <5 4>;
Rick Chenb29123e2018-03-15 10:47:07 +080070 cap-sd-highspeed;
Rick Chenda1ad112017-06-01 15:09:25 +080071 };
rick2492bfc2017-04-17 14:41:58 +080072};