Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PXs3 Reference Board |
| 3 | * |
| 4 | * Copyright (C) 2017 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
| 6 | * |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 11 | #include "uniphier-pxs3.dtsi" |
| 12 | #include "uniphier-support-card.dtsi" |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "UniPhier PXs3 Reference Board"; |
| 16 | compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3"; |
| 17 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 22 | aliases { |
| 23 | serial0 = &serial0; |
| 24 | serial1 = &serial1; |
| 25 | serial2 = &serial2; |
| 26 | serial3 = &serial3; |
| 27 | i2c0 = &i2c0; |
| 28 | i2c1 = &i2c1; |
| 29 | i2c2 = &i2c2; |
| 30 | i2c3 = &i2c3; |
| 31 | i2c6 = &i2c6; |
| 32 | }; |
| 33 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 34 | memory@80000000 { |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 35 | device_type = "memory"; |
| 36 | reg = <0 0x80000000 0 0xa0000000>; |
| 37 | }; |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | ðsc { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 41 | interrupts = <4 8>; |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &serial0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 48 | &serial2 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &serial3 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 56 | &gpio { |
| 57 | xirq4 { |
| 58 | gpio-hog; |
| 59 | gpios = <UNIPHIER_GPIO_IRQ(4) 0>; |
| 60 | input; |
| 61 | }; |
| 62 | }; |
| 63 | |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 64 | &i2c0 { |
| 65 | status = "okay"; |
| 66 | }; |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 67 | |
| 68 | &i2c1 { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | &i2c2 { |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &i2c3 { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
| 80 | &usb0 { |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &usb1 { |
| 85 | status = "okay"; |
| 86 | }; |
Masahiro Yamada | 2728748 | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 87 | |
| 88 | &nand { |
| 89 | status = "okay"; |
| 90 | }; |