Wills Wang | 6a7b52b | 2016-03-16 16:59:59 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #include <dt-bindings/interrupt-controller/irq.h> |
| 8 | #include "skeleton.dtsi" |
| 9 | |
| 10 | / { |
| 11 | compatible = "qca,ar933x"; |
| 12 | |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
| 16 | cpus { |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | |
| 20 | cpu@0 { |
| 21 | device_type = "cpu"; |
| 22 | compatible = "mips,mips24Kc"; |
| 23 | reg = <0>; |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | clocks { |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
| 30 | ranges; |
| 31 | |
| 32 | xtal: xtal { |
| 33 | #clock-cells = <0>; |
| 34 | compatible = "fixed-clock"; |
| 35 | clock-output-names = "xtal"; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | pinctrl { |
| 40 | u-boot,dm-pre-reloc; |
| 41 | compatible = "qca,ar933x-pinctrl"; |
| 42 | ranges; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | reg = <0x18040000 0x100>; |
| 46 | }; |
| 47 | |
| 48 | ahb { |
| 49 | compatible = "simple-bus"; |
| 50 | ranges; |
| 51 | |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | |
| 55 | apb { |
| 56 | compatible = "simple-bus"; |
| 57 | ranges; |
| 58 | |
| 59 | #address-cells = <1>; |
| 60 | #size-cells = <1>; |
| 61 | |
| 62 | uart0: uart@18020000 { |
| 63 | compatible = "qca,ar9330-uart"; |
| 64 | reg = <0x18020000 0x20>; |
| 65 | interrupts = <128 IRQ_TYPE_LEVEL_HIGH>; |
| 66 | |
| 67 | status = "disabled"; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | spi0: spi@1f000000 { |
| 72 | compatible = "qca,ar7100-spi"; |
| 73 | reg = <0x1f000000 0x10>; |
| 74 | interrupts = <129 IRQ_TYPE_LEVEL_HIGH>; |
| 75 | |
| 76 | status = "disabled"; |
| 77 | |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | }; |
| 81 | }; |
| 82 | }; |