Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier Pro4 Sanji Board |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | 31a1788 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 11 | /include/ "uniphier-pro4.dtsi" |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 12 | |
| 13 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 14 | model = "UniPhier Pro4 Sanji Board"; |
| 15 | compatible = "socionext,uniphier-pro4-sanji", "socionext,uniphier-pro4"; |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 17 | chosen { |
| 18 | stdout-path = "serial0:115200n8"; |
| 19 | }; |
| 20 | |
| 21 | aliases { |
| 22 | serial0 = &serial0; |
| 23 | serial1 = &serial1; |
| 24 | i2c0 = &i2c0; |
| 25 | i2c1 = &i2c1; |
| 26 | i2c2 = &i2c2; |
| 27 | i2c3 = &i2c3; |
| 28 | i2c5 = &i2c5; |
| 29 | i2c6 = &i2c6; |
| 30 | }; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 31 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 32 | memory@80000000 { |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 33 | device_type = "memory"; |
| 34 | reg = <0x80000000 0x80000000>; |
| 35 | }; |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | &serial0 { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &serial1 { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &i2c0 { |
| 47 | status = "okay"; |
| 48 | |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 49 | eeprom@54 { |
Masahiro Yamada | 31a1788 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 50 | compatible = "st,24c64", "atmel,24c64", "i2c-eeprom"; |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 51 | reg = <0x54>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 52 | pagesize = <32>; |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 53 | u-boot,i2c-offset-len = <2>; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | &i2c1 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &i2c2 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &i2c3 { |
| 66 | status = "okay"; |
| 67 | }; |
| 68 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 69 | &emmc { |
| 70 | status = "okay"; |
| 71 | }; |
| 72 | |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 73 | &usb0 { |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
| 77 | &usb1 { |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | |
| 81 | &usb2 { |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | &usb3 { |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | |
| 89 | /* for U-Boot only */ |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 90 | &serial0 { |
| 91 | u-boot,dm-pre-reloc; |
| 92 | }; |
| 93 | |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 94 | &mio_clk { |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 95 | u-boot,dm-pre-reloc; |
| 96 | }; |
| 97 | |
| 98 | &emmc { |
| 99 | u-boot,dm-pre-reloc; |
| 100 | }; |
| 101 | |
Masahiro Yamada | 40efc4f | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 102 | &pinctrl_uart0 { |
| 103 | u-boot,dm-pre-reloc; |
| 104 | }; |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 105 | |
| 106 | &pinctrl_emmc { |
| 107 | u-boot,dm-pre-reloc; |
| 108 | }; |