Tim Bird | 71b5235 | 2014-09-30 15:49:49 -0700 | [diff] [blame] | 1 | #include "qcom-msm8974.dtsi" |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 2 | #include "qcom-pm8841.dtsi" |
| 3 | #include "qcom-pm8941.dtsi" |
Tim Bird | 71b5235 | 2014-09-30 15:49:49 -0700 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Sony Xperia Z1"; |
| 7 | compatible = "sony,xperia-honami", "qcom,msm8974"; |
| 8 | |
Stephen Boyd | 8f1dc3c | 2015-06-16 14:31:53 -0700 | [diff] [blame] | 9 | aliases { |
| 10 | serial0 = &blsp1_uart2; |
| 11 | }; |
| 12 | |
| 13 | chosen { |
| 14 | stdout-path = "serial0:115200n8"; |
| 15 | }; |
| 16 | |
Tim Bird | 71b5235 | 2014-09-30 15:49:49 -0700 | [diff] [blame] | 17 | memory@0 { |
| 18 | reg = <0 0x40000000>, <0x40000000 0x40000000>; |
| 19 | device_type = "memory"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &soc { |
| 24 | serial@f991e000 { |
| 25 | status = "ok"; |
Bjorn Andersson | c2e1445 | 2015-10-20 21:57:44 -0700 | [diff] [blame^] | 26 | |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = <&blsp1_uart2_pin_a>; |
| 29 | }; |
| 30 | |
| 31 | pinctrl@fd510000 { |
| 32 | blsp1_uart2_pin_a: blsp1-uart2-pin-active { |
| 33 | rx { |
| 34 | pins = "gpio5"; |
| 35 | function = "blsp_uart2"; |
| 36 | |
| 37 | drive-strength = <2>; |
| 38 | bias-pull-up; |
| 39 | }; |
| 40 | |
| 41 | tx { |
| 42 | pins = "gpio4"; |
| 43 | function = "blsp_uart2"; |
| 44 | |
| 45 | drive-strength = <4>; |
| 46 | bias-disable; |
| 47 | }; |
| 48 | }; |
Tim Bird | 71b5235 | 2014-09-30 15:49:49 -0700 | [diff] [blame] | 49 | }; |
| 50 | }; |
Tim Bird | ccf97fe | 2015-07-16 16:55:33 -0700 | [diff] [blame] | 51 | |
| 52 | &spmi_bus { |
| 53 | pm8941@0 { |
| 54 | coincell@2800 { |
| 55 | status = "ok"; |
| 56 | qcom,rset-ohms = <2100>; |
| 57 | qcom,vset-millivolts = <3000>; |
| 58 | }; |
| 59 | }; |
| 60 | }; |