Commit df0174b1 authored by Rajesh Patil's avatar Rajesh Patil Committed by Bjorn Andersson

arm64: dts: qcom: sc7280: Configure SPI-NOR FLASH for sc7280-idp

Add spi-nor flash node and pinctrl configurations for the SC7280 IDP.
Signed-off-by: default avatarRajesh Patil <rajpat@codeaurora.org>
Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1632399378-12229-4-git-send-email-rajpat@codeaurora.org
parent 7720ea00
...@@ -232,6 +232,20 @@ &qfprom { ...@@ -232,6 +232,20 @@ &qfprom {
vcc-supply = <&vreg_l1c_1p8>; vcc-supply = <&vreg_l1c_1p8>;
}; };
&qspi {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>;
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <37500000>;
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
};
};
&qupv3_id_0 { &qupv3_id_0 {
status = "okay"; status = "okay";
}; };
...@@ -320,6 +334,19 @@ key_vol_up_default: key-vol-up-default { ...@@ -320,6 +334,19 @@ key_vol_up_default: key-vol-up-default {
}; };
}; };
&qspi_cs0 {
bias-disable;
};
&qspi_clk {
bias-disable;
};
&qspi_data01 {
/* High-Z when no transfers; nice to park the lines */
bias-pull-up;
};
&qup_uart5_default { &qup_uart5_default {
tx { tx {
pins = "gpio46"; pins = "gpio46";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment