Robert Marko | e7a34f1 | 2020-07-06 10:37:54 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (c) 2019 Sartura Ltd. |
| 4 | * |
| 5 | * Author: Robert Marko <robert.marko@sartura.hr> |
| 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "skeleton.dtsi" |
| 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | #include <dt-bindings/pinctrl/pinctrl-snapdragon.h> |
Robert Marko | 06d2900 | 2020-09-10 16:00:00 +0200 | [diff] [blame] | 13 | #include <dt-bindings/clock/qcom,ipq4019-gcc.h> |
Robert Marko | e7a34f1 | 2020-07-06 10:37:54 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
| 19 | model = "Qualcomm Technologies, Inc. IPQ4019"; |
| 20 | compatible = "qcom,ipq4019"; |
| 21 | |
| 22 | aliases { |
| 23 | serial0 = &blsp1_uart1; |
| 24 | }; |
| 25 | |
| 26 | reserved-memory { |
| 27 | #address-cells = <0x1>; |
| 28 | #size-cells = <0x1>; |
| 29 | ranges; |
| 30 | |
| 31 | smem_mem: smem_region: smem@87e00000 { |
| 32 | reg = <0x87e00000 0x080000>; |
| 33 | no-map; |
| 34 | }; |
| 35 | |
| 36 | tz@87e80000 { |
| 37 | reg = <0x87e80000 0x180000>; |
| 38 | no-map; |
| 39 | }; |
| 40 | }; |
| 41 | |
Robert Marko | 0b7d950 | 2020-09-10 16:00:01 +0200 | [diff] [blame] | 42 | smem { |
| 43 | compatible = "qcom,smem"; |
| 44 | memory-region = <&smem_mem>; |
| 45 | }; |
| 46 | |
Robert Marko | e7a34f1 | 2020-07-06 10:37:54 +0200 | [diff] [blame] | 47 | soc: soc { |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | ranges; |
| 51 | compatible = "simple-bus"; |
| 52 | |
| 53 | gcc: clock-controller@1800000 { |
| 54 | compatible = "qcom,gcc-ipq4019"; |
| 55 | reg = <0x1800000 0x60000>; |
| 56 | #clock-cells = <1>; |
| 57 | #reset-cells = <1>; |
| 58 | u-boot,dm-pre-reloc; |
| 59 | }; |
| 60 | |
| 61 | pinctrl: qcom,tlmm@1000000 { |
| 62 | compatible = "qcom,tlmm-ipq4019"; |
| 63 | reg = <0x1000000 0x300000>; |
| 64 | u-boot,dm-pre-reloc; |
| 65 | }; |
| 66 | |
| 67 | blsp1_uart1: serial@78af000 { |
| 68 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 69 | reg = <0x78af000 0x200>; |
Robert Marko | 06d2900 | 2020-09-10 16:00:00 +0200 | [diff] [blame] | 70 | clock = <&gcc GCC_BLSP1_UART1_APPS_CLK>; |
Robert Marko | e7a34f1 | 2020-07-06 10:37:54 +0200 | [diff] [blame] | 71 | bit-rate = <0xFF>; |
| 72 | status = "disabled"; |
| 73 | u-boot,dm-pre-reloc; |
| 74 | }; |
| 75 | |
| 76 | soc_gpios: pinctrl@1000000 { |
| 77 | compatible = "qcom,ipq4019-pinctrl"; |
| 78 | reg = <0x1000000 0x300000>; |
| 79 | gpio-controller; |
| 80 | gpio-count = <100>; |
| 81 | gpio-bank-name="soc"; |
| 82 | #gpio-cells = <2>; |
| 83 | }; |
| 84 | }; |
| 85 | }; |