Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source commonly used by UniPhier ARM SoCs |
| 3 | * |
| 4 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
| 7 | */ |
| 8 | |
| 9 | /include/ "skeleton.dtsi" |
| 10 | |
| 11 | / { |
Masahiro Yamada | cc33609 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 12 | clocks { |
| 13 | refclk: ref { |
| 14 | #clock-cells = <0>; |
| 15 | compatible = "fixed-clock"; |
| 16 | }; |
| 17 | }; |
| 18 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 19 | soc: soc { |
| 20 | compatible = "simple-bus"; |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <1>; |
| 23 | ranges; |
| 24 | interrupt-parent = <&intc>; |
| 25 | |
| 26 | extbus: extbus { |
| 27 | compatible = "simple-bus"; |
| 28 | #address-cells = <2>; |
| 29 | #size-cells = <1>; |
| 30 | }; |
| 31 | |
| 32 | serial0: serial@54006800 { |
| 33 | compatible = "socionext,uniphier-uart"; |
| 34 | status = "disabled"; |
| 35 | reg = <0x54006800 0x40>; |
| 36 | interrupts = <0 33 4>; |
| 37 | pinctrl-names = "default"; |
| 38 | pinctrl-0 = <&pinctrl_uart0>; |
| 39 | clocks = <&uart_clk>; |
| 40 | }; |
| 41 | |
| 42 | serial1: serial@54006900 { |
| 43 | compatible = "socionext,uniphier-uart"; |
| 44 | status = "disabled"; |
| 45 | reg = <0x54006900 0x40>; |
| 46 | interrupts = <0 35 4>; |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&pinctrl_uart1>; |
| 49 | clocks = <&uart_clk>; |
| 50 | }; |
| 51 | |
| 52 | serial2: serial@54006a00 { |
| 53 | compatible = "socionext,uniphier-uart"; |
| 54 | status = "disabled"; |
| 55 | reg = <0x54006a00 0x40>; |
| 56 | interrupts = <0 37 4>; |
| 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&pinctrl_uart2>; |
| 59 | clocks = <&uart_clk>; |
| 60 | }; |
| 61 | |
| 62 | serial3: serial@54006b00 { |
| 63 | compatible = "socionext,uniphier-uart"; |
| 64 | status = "disabled"; |
| 65 | reg = <0x54006b00 0x40>; |
| 66 | interrupts = <0 177 4>; |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&pinctrl_uart3>; |
| 69 | clocks = <&uart_clk>; |
| 70 | }; |
| 71 | |
| 72 | system-bus-controller@58c00000 { |
| 73 | compatible = "socionext,uniphier-system-bus-controller"; |
| 74 | reg = <0x58c00000 0x400>, <0x59800000 0x2000>; |
| 75 | }; |
| 76 | |
| 77 | timer@60000200 { |
| 78 | compatible = "arm,cortex-a9-global-timer"; |
| 79 | reg = <0x60000200 0x20>; |
| 80 | interrupts = <1 11 0x104>; |
| 81 | clocks = <&arm_timer_clk>; |
| 82 | }; |
| 83 | |
| 84 | timer@60000600 { |
| 85 | compatible = "arm,cortex-a9-twd-timer"; |
| 86 | reg = <0x60000600 0x20>; |
| 87 | interrupts = <1 13 0x104>; |
| 88 | clocks = <&arm_timer_clk>; |
| 89 | }; |
| 90 | |
| 91 | intc: interrupt-controller@60001000 { |
| 92 | compatible = "arm,cortex-a9-gic"; |
| 93 | reg = <0x60001000 0x1000>, |
| 94 | <0x60000100 0x100>; |
| 95 | #interrupt-cells = <3>; |
| 96 | interrupt-controller; |
| 97 | }; |
| 98 | |
| 99 | pinctrl: pinctrl@5f801000 { |
| 100 | /* specify compatible in each SoC DTSI */ |
| 101 | reg = <0x5f801000 0xe00>; |
| 102 | }; |
| 103 | |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame^] | 104 | sysctrl: sysctrl@61840000 { |
| 105 | /* specify compatible in each SoC DTSI */ |
| 106 | reg = <0x61840000 0x4000>; |
| 107 | #clock-cells = <1>; |
| 108 | clock-names = "ref"; |
| 109 | clocks = <&refclk>; |
| 110 | }; |
| 111 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 112 | nand: nand@68000000 { |
| 113 | compatible = "denali,denali-nand-dt"; |
| 114 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 115 | reg-names = "nand_data", "denali_reg"; |
| 116 | }; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | /include/ "uniphier-pinctrl.dtsi" |