Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | // |
| 3 | // Device Tree Source for UniPhier LD20 Reference Board |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 7 | |
| 8 | /dts-v1/; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 9 | #include "uniphier-ld20.dtsi" |
| 10 | #include "uniphier-ref-daughter.dtsi" |
| 11 | #include "uniphier-support-card.dtsi" |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 12 | |
| 13 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 14 | model = "UniPhier LD20 Reference Board"; |
| 15 | compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 17 | chosen { |
| 18 | stdout-path = "serial0:115200n8"; |
| 19 | }; |
| 20 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 21 | aliases { |
| 22 | serial0 = &serial0; |
Masahiro Yamada | 5e8f4ad | 2020-08-04 14:41:09 +0900 | [diff] [blame^] | 23 | serial1 = &serialsc; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 24 | serial2 = &serial2; |
| 25 | serial3 = &serial3; |
| 26 | i2c0 = &i2c0; |
| 27 | i2c1 = &i2c1; |
| 28 | i2c2 = &i2c2; |
| 29 | i2c3 = &i2c3; |
| 30 | i2c4 = &i2c4; |
| 31 | i2c5 = &i2c5; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 32 | ethernet0 = ð |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 33 | }; |
Masahiro Yamada | 79b06c8 | 2016-04-21 14:43:14 +0900 | [diff] [blame] | 34 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 35 | memory@80000000 { |
Masahiro Yamada | 79b06c8 | 2016-04-21 14:43:14 +0900 | [diff] [blame] | 36 | device_type = "memory"; |
| 37 | reg = <0 0x80000000 0 0xc0000000>; |
| 38 | }; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | ðsc { |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 42 | interrupts = <0 8>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 43 | }; |
| 44 | |
Masahiro Yamada | 5e8f4ad | 2020-08-04 14:41:09 +0900 | [diff] [blame^] | 45 | &serialsc { |
| 46 | interrupts = <0 8>; |
| 47 | }; |
| 48 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 49 | &serial0 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 53 | &gpio { |
| 54 | xirq0 { |
| 55 | gpio-hog; |
| 56 | gpios = <UNIPHIER_GPIO_IRQ(0) 0>; |
| 57 | input; |
| 58 | }; |
| 59 | }; |
| 60 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 61 | &i2c0 { |
| 62 | status = "okay"; |
| 63 | }; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 64 | |
| 65 | ð { |
| 66 | status = "okay"; |
| 67 | phy-handle = <ðphy>; |
| 68 | }; |
| 69 | |
| 70 | &mdio { |
Masahiro Yamada | 5e8f4ad | 2020-08-04 14:41:09 +0900 | [diff] [blame^] | 71 | ethphy: ethernet-phy@0 { |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 72 | reg = <0>; |
| 73 | }; |
| 74 | }; |
Masahiro Yamada | 76b37e7 | 2018-05-23 00:30:54 +0900 | [diff] [blame] | 75 | |
| 76 | &pinctrl_ether_rgmii { |
| 77 | tx { |
| 78 | pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1", |
| 79 | "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL"; |
| 80 | drive-strength = <9>; |
| 81 | }; |
| 82 | }; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 83 | |
| 84 | &usb { |
| 85 | status = "okay"; |
| 86 | }; |