mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
arm64: dts: mediatek: asurada: Add SPI NOR flash memory
Add support for the SPI NOR flash memory present on the Asurada platform. Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20220629155956.1138955-20-nfraprado@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
b10e80b173
commit
b0e50a1f5d
1 changed files with 40 additions and 0 deletions
|
@ -241,6 +241,23 @@ &mt6359codec {
|
||||||
mediatek,mic-type-2 = <2>; /* DMIC */
|
mediatek,mic-type-2 = <2>; /* DMIC */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nor_flash {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&nor_flash_pins>;
|
||||||
|
assigned-clocks = <&topckgen CLK_TOP_SFLASH_SEL>;
|
||||||
|
assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6_D8>;
|
||||||
|
|
||||||
|
flash@0 {
|
||||||
|
compatible = "winbond,w25q64jwm", "jedec,spi-nor";
|
||||||
|
reg = <0>;
|
||||||
|
spi-max-frequency = <52000000>;
|
||||||
|
spi-rx-bus-width = <2>;
|
||||||
|
spi-tx-bus-width = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pcie_pins>;
|
pinctrl-0 = <&pcie_pins>;
|
||||||
|
@ -658,6 +675,29 @@ pins-clk {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nor_flash_pins: nor-flash-default-pins {
|
||||||
|
pins-cs-io1 {
|
||||||
|
pinmux = <PINMUX_GPIO24__FUNC_SPINOR_CS>,
|
||||||
|
<PINMUX_GPIO28__FUNC_SPINOR_IO1>;
|
||||||
|
input-enable;
|
||||||
|
bias-pull-up;
|
||||||
|
drive-strength = <10>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pins-io0 {
|
||||||
|
pinmux = <PINMUX_GPIO27__FUNC_SPINOR_IO0>;
|
||||||
|
bias-pull-up;
|
||||||
|
drive-strength = <10>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pins-clk {
|
||||||
|
pinmux = <PINMUX_GPIO25__FUNC_SPINOR_CK>;
|
||||||
|
input-enable;
|
||||||
|
bias-pull-up;
|
||||||
|
drive-strength = <10>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pcie_pins: pcie-default-pins {
|
pcie_pins: pcie-default-pins {
|
||||||
pins-pcie-wake {
|
pins-pcie-wake {
|
||||||
pinmux = <PINMUX_GPIO63__FUNC_PCIE_WAKE_N>;
|
pinmux = <PINMUX_GPIO63__FUNC_PCIE_WAKE_N>;
|
||||||
|
|
Loading…
Reference in a new issue