Re: [PATCH v2 13/13] ARM: dts: ipq8074: Enable few peripherals for hk01 board

From: Sricharan R
Date: Fri Mar 16 2018 - 08:43:20 EST


Hi Abhishek,

On 3/16/2018 4:27 PM, Abhishek Sahu wrote:
> On 2018-03-16 15:08, Sricharan R wrote:
>> Signed-off-by: Sricharan R <sricharan@xxxxxxxxxxxxxx>
>> ---
>> Âarch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 103 ++++++++++++++++++++++++++++++
>> Â1 file changed, 103 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
>> b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
>> index 6a838b5..81dff867 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
>> +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
>> @@ -21,6 +21,7 @@
>>
>> ÂÂÂÂ aliases {
>> ÂÂÂÂÂÂÂÂ serial0 = &blsp1_uart5;
>> +ÂÂÂÂÂÂÂ serial1 = &serial_blsp2;
>> ÂÂÂÂ };
>>
>> ÂÂÂÂ chosen {
>> @@ -41,6 +42,47 @@
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bias-disable;
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ };
>> ÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ i2c_0_pins: i2c_0_pinmux {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mux {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ pins = "gpio42", "gpio43";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ function = "blsp1_i2c";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ drive-strength = <8>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bias-disable;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ spi_0_pins: spi_0_pins {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mux {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ pins = "gpio38", "gpio39", "gpio40", "gpio41";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ function = "blsp0_spi";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ drive-strength = <8>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bias-disable;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ hsuart_pins: hsuart_pins {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mux {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ pins = "gpio46", "gpio47", "gpio48", "gpio49";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ function = "blsp2_uart";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ drive-strength = <8>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bias-disable;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ qpic_pins: qpic_pins {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mux {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ pins = "gpio1", "gpio3", "gpio4",
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ "gpio5", "gpio6", "gpio7",
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ "gpio8", "gpio10", "gpio11",
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ "gpio12", "gpio13", "gpio14",
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ "gpio15", "gpio16", "gpio17";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ function = "qpic";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ drive-strength = <8>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bias-disable;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +ÂÂÂÂÂÂÂÂÂÂÂ };
>> +
>> ÂÂÂÂÂÂÂÂ };
>>
>> ÂÂÂÂÂÂÂÂ serial@78b3000 {
>> @@ -48,5 +90,66 @@
>> ÂÂÂÂÂÂÂÂÂÂÂÂ pinctrl-names = "default";
>> ÂÂÂÂÂÂÂÂÂÂÂÂ status = "ok";
>> ÂÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂ spi@78b5000 {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ pinctrl-0 = <&spi_0_pins>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ pinctrl-names = "default";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ status = "ok";
>> +
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ m25p80@0 {
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ #address-cells = <1>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ #size-cells = <1>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ compatible = "n25q128a11", "jedec,spi-nor";
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ reg = <0>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ spi-max-frequency = <50000000>;
>> +ÂÂÂÂÂÂÂÂÂÂÂÂ };
>> +ÂÂÂÂÂÂÂ };
>> +
>> +ÂÂÂÂÂÂÂ serial@78B1000 {
>
> Âs/78B1000/78b1000
>
> ÂWith that,
> ÂReviewed-by: Abhishek Sahu <absahu@xxxxxxxxxxxxxx>
>

ok, Thanks.

Regards,
Sricharan

--
"QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation