1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ OR MIT 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree Source for Sierra Wireless WP8548 Module 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2016 BayLibre, SAS. 6*724ba675SRob Herring * Author : Neil Armstrong <narmstrong@baylibre.com> 7*724ba675SRob Herring */ 8*724ba675SRob Herring 9*724ba675SRob Herring#include "qcom-mdm9615.dtsi" 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring model = "Sierra Wireless WP8548 Module"; 13*724ba675SRob Herring compatible = "swir,wp8548", "qcom,mdm9615"; 14*724ba675SRob Herring 15*724ba675SRob Herring memory@48000000 { 16*724ba675SRob Herring device_type = "memory"; 17*724ba675SRob Herring reg = <0x48000000 0x7F00000>; 18*724ba675SRob Herring }; 19*724ba675SRob Herring}; 20*724ba675SRob Herring 21*724ba675SRob Herring&msmgpio { 22*724ba675SRob Herring pinctrl-0 = <&reset_out_pins>; 23*724ba675SRob Herring pinctrl-names = "default"; 24*724ba675SRob Herring 25*724ba675SRob Herring gsbi3_pins: gsbi3-state { 26*724ba675SRob Herring gsbi3-pins { 27*724ba675SRob Herring pins = "gpio8", "gpio9", "gpio10", "gpio11"; 28*724ba675SRob Herring function = "gsbi3"; 29*724ba675SRob Herring drive-strength = <8>; 30*724ba675SRob Herring bias-disable; 31*724ba675SRob Herring }; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring gsbi4_pins: gsbi4-state { 35*724ba675SRob Herring gsbi4-pins { 36*724ba675SRob Herring pins = "gpio12", "gpio13", "gpio14", "gpio15"; 37*724ba675SRob Herring function = "gsbi4"; 38*724ba675SRob Herring drive-strength = <8>; 39*724ba675SRob Herring bias-disable; 40*724ba675SRob Herring }; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring gsbi5_i2c_pins: gsbi5-i2c-state { 44*724ba675SRob Herring sda-pins { 45*724ba675SRob Herring pins = "gpio16"; 46*724ba675SRob Herring function = "gsbi5_i2c"; 47*724ba675SRob Herring drive-strength = <8>; 48*724ba675SRob Herring bias-disable; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring scl-pins { 52*724ba675SRob Herring pins = "gpio17"; 53*724ba675SRob Herring function = "gsbi5_i2c"; 54*724ba675SRob Herring drive-strength = <2>; 55*724ba675SRob Herring bias-disable; 56*724ba675SRob Herring }; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring gsbi5_uart_pins: gsbi5-uart-state { 60*724ba675SRob Herring gsbi5-uart-pins { 61*724ba675SRob Herring pins = "gpio18", "gpio19"; 62*724ba675SRob Herring function = "gsbi5_uart"; 63*724ba675SRob Herring drive-strength = <8>; 64*724ba675SRob Herring bias-disable; 65*724ba675SRob Herring }; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring reset_out_pins: reset-out-state { 69*724ba675SRob Herring reset-out-pins { 70*724ba675SRob Herring pins = "gpio66"; 71*724ba675SRob Herring function = "gpio"; 72*724ba675SRob Herring drive-strength = <2>; 73*724ba675SRob Herring bias-pull-up; 74*724ba675SRob Herring output-high; 75*724ba675SRob Herring }; 76*724ba675SRob Herring }; 77*724ba675SRob Herring}; 78*724ba675SRob Herring 79*724ba675SRob Herring&pmicgpio { 80*724ba675SRob Herring usb_vbus_5v_pins: usb-vbus-5v-state { 81*724ba675SRob Herring pins = "gpio4"; 82*724ba675SRob Herring function = "normal"; 83*724ba675SRob Herring output-high; 84*724ba675SRob Herring bias-disable; 85*724ba675SRob Herring qcom,drive-strength = <1>; 86*724ba675SRob Herring power-source = <2>; 87*724ba675SRob Herring }; 88*724ba675SRob Herring}; 89*724ba675SRob Herring 90*724ba675SRob Herring&gsbi3 { 91*724ba675SRob Herring status = "okay"; 92*724ba675SRob Herring qcom,mode = <GSBI_PROT_SPI>; 93*724ba675SRob Herring}; 94*724ba675SRob Herring 95*724ba675SRob Herring&gsbi3_spi { 96*724ba675SRob Herring status = "okay"; 97*724ba675SRob Herring pinctrl-0 = <&gsbi3_pins>; 98*724ba675SRob Herring pinctrl-names = "default"; 99*724ba675SRob Herring assigned-clocks = <&gcc GSBI3_QUP_CLK>; 100*724ba675SRob Herring assigned-clock-rates = <24000000>; 101*724ba675SRob Herring}; 102*724ba675SRob Herring 103*724ba675SRob Herring&gsbi4 { 104*724ba675SRob Herring status = "okay"; 105*724ba675SRob Herring qcom,mode = <GSBI_PROT_UART_W_FC>; 106*724ba675SRob Herring}; 107*724ba675SRob Herring 108*724ba675SRob Herring&gsbi4_serial { 109*724ba675SRob Herring status = "okay"; 110*724ba675SRob Herring pinctrl-0 = <&gsbi4_pins>; 111*724ba675SRob Herring pinctrl-names = "default"; 112*724ba675SRob Herring}; 113*724ba675SRob Herring 114*724ba675SRob Herring&gsbi5 { 115*724ba675SRob Herring status = "okay"; 116*724ba675SRob Herring qcom,mode = <GSBI_PROT_I2C_UART>; 117*724ba675SRob Herring}; 118*724ba675SRob Herring 119*724ba675SRob Herring&gsbi5_i2c { 120*724ba675SRob Herring status = "okay"; 121*724ba675SRob Herring clock-frequency = <200000>; 122*724ba675SRob Herring pinctrl-0 = <&gsbi5_i2c_pins>; 123*724ba675SRob Herring pinctrl-names = "default"; 124*724ba675SRob Herring}; 125*724ba675SRob Herring 126*724ba675SRob Herring&gsbi5_serial { 127*724ba675SRob Herring status = "okay"; 128*724ba675SRob Herring pinctrl-0 = <&gsbi5_uart_pins>; 129*724ba675SRob Herring pinctrl-names = "default"; 130*724ba675SRob Herring}; 131*724ba675SRob Herring 132*724ba675SRob Herring&sdcc1 { 133*724ba675SRob Herring status = "okay"; 134*724ba675SRob Herring}; 135