Amit Singh Tomar | b6b7c6b | 2020-04-19 19:28:35 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2017 Andreas Färber |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "s700.dtsi" |
| 9 | |
| 10 | / { |
| 11 | compatible = "cubietech,cubieboard7", "actions,s700"; |
| 12 | model = "CubieBoard7"; |
| 13 | |
| 14 | aliases { |
| 15 | serial3 = &uart3; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial3:115200n8"; |
| 20 | }; |
| 21 | |
| 22 | memory@0 { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x0 0x0 0x0 0x80000000>; |
| 25 | }; |
| 26 | |
| 27 | memory@1,e0000000 { |
| 28 | device_type = "memory"; |
| 29 | reg = <0x1 0xe0000000 0x0 0x0>; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &i2c0 { |
| 34 | status = "okay"; |
| 35 | pinctrl-names = "default"; |
| 36 | pinctrl-0 = <&i2c0_default>; |
| 37 | }; |
| 38 | |
| 39 | &i2c1 { |
| 40 | status = "okay"; |
| 41 | pinctrl-names = "default"; |
| 42 | pinctrl-0 = <&i2c1_default>; |
| 43 | }; |
| 44 | |
| 45 | &i2c2 { |
| 46 | status = "disabled"; |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&i2c2_default>; |
| 49 | }; |
| 50 | |
| 51 | &pinctrl { |
| 52 | i2c0_default: i2c0_default { |
| 53 | pinmux { |
| 54 | groups = "i2c0_mfp"; |
| 55 | function = "i2c0"; |
| 56 | }; |
| 57 | pinconf { |
| 58 | pins = "i2c0_sclk", "i2c0_sdata"; |
| 59 | bias-pull-up; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | i2c1_default: i2c1_default { |
| 64 | pinmux { |
| 65 | groups = "i2c1_dummy"; |
| 66 | function = "i2c1"; |
| 67 | }; |
| 68 | pinconf { |
| 69 | pins = "i2c1_sclk", "i2c1_sdata"; |
| 70 | bias-pull-up; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | i2c2_default: i2c2_default { |
| 75 | pinmux { |
| 76 | groups = "i2c2_dummy"; |
| 77 | function = "i2c2"; |
| 78 | }; |
| 79 | pinconf { |
| 80 | pins = "i2c2_sclk", "i2c2_sdata"; |
| 81 | bias-pull-up; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | &timer { |
| 87 | clocks = <&hosc>; |
| 88 | }; |
| 89 | |
| 90 | &uart3 { |
| 91 | status = "okay"; |
| 92 | }; |