Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | #include "qcom-ipq8064-v1.0.dtsi" |
| 3 | |
| 4 | / { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 5 | model = "Qualcomm Technologies, Inc. IPQ8064/AP-148"; |
| 6 | compatible = "qcom,ipq8064-ap148"; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 7 | |
| 8 | soc { |
| 9 | pinmux@800000 { |
| 10 | i2c4_pins: i2c4_pinmux { |
| 11 | pins = "gpio12", "gpio13"; |
| 12 | function = "gsbi4"; |
| 13 | bias-disable; |
| 14 | }; |
| 15 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 16 | buttons_pins: buttons_pins { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 17 | mux { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 18 | pins = "gpio54", "gpio65"; |
| 19 | drive-strength = <2>; |
| 20 | bias-pull-up; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 21 | }; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | gsbi@16300000 { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 26 | i2c@16380000 { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 27 | status = "ok"; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 28 | clock-frequency = <200000>; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 29 | pinctrl-0 = <&i2c4_pins>; |
| 30 | pinctrl-names = "default"; |
| 31 | }; |
| 32 | }; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 33 | }; |
| 34 | }; |