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; |
| 10 | } ; |
| 11 | |
| 12 | chosen { |
| 13 | /* bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0x99600000 debug bootmem_debug memblock=debug loglevel=7"; */ |
| 14 | bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0x99600000 debug loglevel=7"; |
| 15 | stdout-path = "uart0:38400n8"; |
| 16 | }; |
| 17 | |
| 18 | memory@0 { |
| 19 | device_type = "memory"; |
| 20 | reg = <0x00000000 0x40000000>; |
| 21 | }; |
| 22 | |
| 23 | cpus { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <0>; |
| 26 | cpu@0 { |
| 27 | compatible = "andestech,n13"; |
| 28 | reg = <0>; |
| 29 | /* FIXME: to fill correct frqeuency */ |
| 30 | clock-frequency = <60000000>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | intc: interrupt-controller { |
| 35 | compatible = "andestech,atnointc010"; |
| 36 | #interrupt-cells = <1>; |
| 37 | interrupt-controller; |
| 38 | }; |
| 39 | |
| 40 | serial0: serial@99600000 { |
| 41 | compatible = "andestech,uart16550", "ns16550a"; |
| 42 | reg = <0x99600000 0x1000>; |
| 43 | interrupts = <7 4>; |
| 44 | clock-frequency = <14745600>; |
| 45 | reg-shift = <2>; |
| 46 | no-loopback-test = <1>; |
| 47 | }; |
| 48 | |
| 49 | }; |