rick | 2492bfc | 2017-04-17 14:41:58 +0800 | [diff] [blame] | 1 | /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; |
rick | dc24dac | 2017-05-23 13:48:27 +0800 | [diff] [blame] | 10 | ethernet0 = &mac0; |
rick | 2492bfc | 2017-04-17 14:41:58 +0800 | [diff] [blame] | 11 | } ; |
| 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"; |
rick | 6d564b8 | 2017-05-17 10:59:20 +0800 | [diff] [blame] | 17 | tick-timer = &timer0; |
rick | 2492bfc | 2017-04-17 14:41:58 +0800 | [diff] [blame] | 18 | }; |
| 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 | |
rick | 6d564b8 | 2017-05-17 10:59:20 +0800 | [diff] [blame] | 51 | timer0: timer@98400000 { |
| 52 | compatible = "andestech,attmr010"; |
| 53 | reg = <0x98400000 0x1000>; |
| 54 | interrupts = <19 4>; |
| 55 | clock-frequency = <15000000>; |
| 56 | }; |
| 57 | |
rick | dc24dac | 2017-05-23 13:48:27 +0800 | [diff] [blame] | 58 | mac0: mac@90900000 { |
| 59 | compatible = "andestech,atmac100"; |
| 60 | reg = <0x90900000 0x1000>; |
| 61 | interrupts = <25 4>; |
| 62 | }; |
Rick Chen | da1ad11 | 2017-06-01 15:09:25 +0800 | [diff] [blame] | 63 | |
| 64 | mmc0: mmc@98e00000 { |
Rick Chen | 9f76865 | 2019-01-15 13:30:35 +0800 | [diff] [blame] | 65 | compatible = "andestech,atfsdc010"; |
Rick Chen | da1ad11 | 2017-06-01 15:09:25 +0800 | [diff] [blame] | 66 | max-frequency = <30000000>; |
| 67 | fifo-depth = <0x10>; |
| 68 | reg = <0x98e00000 0x1000>; |
| 69 | interrupts = <5 4>; |
Rick Chen | b29123e | 2018-03-15 10:47:07 +0800 | [diff] [blame] | 70 | cap-sd-highspeed; |
Rick Chen | da1ad11 | 2017-06-01 15:09:25 +0800 | [diff] [blame] | 71 | }; |
rick | 2492bfc | 2017-04-17 14:41:58 +0800 | [diff] [blame] | 72 | }; |