mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
arm: dts: tl1: add spi-nor node for tl1 [1/1]
PD#172587 Problem: Bringup spi-nor for TL1. Solution: Add spi-nor node into dts file, default disabled. Verify: Verified on PXP. Change-Id: I9edd358d41b052b7ecae47a550dcacbc27353955 Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
This commit is contained in:
@@ -793,6 +793,24 @@
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
spifc: spifc@ffd14000 {
|
||||
compatible = "amlogic,aml-spi-nor";
|
||||
status = "disabled";
|
||||
|
||||
reg = <0x0 0xffd14000 0x0 0x80>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spifc_all_pins>;
|
||||
clock-names = "core";
|
||||
clocks = <&clkc CLKID_CLK81>;
|
||||
|
||||
spi-nor@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spifc-frequency = <40000000>;
|
||||
read-capability = <4>;/* dual read 1_1_2 */
|
||||
spifc-io-width = <4>;
|
||||
};
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&pinctrl_aobus {
|
||||
@@ -1063,6 +1081,45 @@
|
||||
};
|
||||
};
|
||||
|
||||
spifc_cs_pin:spifc_cs_pin {
|
||||
mux {
|
||||
groups = "nor_cs";
|
||||
function = "nor";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
spifc_pulldown: spifc_pulldown {
|
||||
mux {
|
||||
groups = "nor_d",
|
||||
"nor_q",
|
||||
"nor_c";
|
||||
function = "nor";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
spifc_pullup: spifc_pullup {
|
||||
mux {
|
||||
groups = "nor_cs";
|
||||
function = "nor";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
spifc_all_pins: spifc_all_pins {
|
||||
mux {
|
||||
groups = "nor_d",
|
||||
"nor_q",
|
||||
"nor_c",
|
||||
"nor_hold",
|
||||
"nor_wp";
|
||||
function = "nor";
|
||||
input-enable;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
pwm_a_pins: pwm_a {
|
||||
mux {
|
||||
groups = "pwm_a";
|
||||
|
||||
@@ -63,6 +63,13 @@
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&spifc {
|
||||
status = "disabled";
|
||||
spi-nor@0 {
|
||||
cs_gpios = <&gpio BOOT_13 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
&spicc0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
|
||||
Reference in New Issue
Block a user