Skip to content

Commit f12a463

Browse files
superna9999khilman
authored andcommitted
arm64: dts: meson-g12: add the SPIFC nodes
Add the controller and pinctrl nodes to enable the SPI Flash Controller on the Amlogic G12A and compatible SoCs. Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Kevin Hilman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4d2cb37 commit f12a463

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,17 @@
593593
};
594594
};
595595

596+
nor_pins: nor {
597+
mux {
598+
groups = "nor_d",
599+
"nor_q",
600+
"nor_c",
601+
"nor_cs";
602+
function = "nor";
603+
bias-disable;
604+
};
605+
};
606+
596607
pdm_din0_a_pins: pdm-din0-a {
597608
mux {
598609
groups = "pdm_din0_a";
@@ -2146,6 +2157,15 @@
21462157
status = "disabled";
21472158
};
21482159

2160+
spifc: spi@14000 {
2161+
compatible = "amlogic,meson-gxbb-spifc";
2162+
status = "disabled";
2163+
reg = <0x0 0x14000 0x0 0x80>;
2164+
#address-cells = <1>;
2165+
#size-cells = <0>;
2166+
clocks = <&clkc CLKID_CLK81>;
2167+
};
2168+
21492169
pwm_ef: pwm@19000 {
21502170
compatible = "amlogic,meson-g12a-ee-pwm";
21512171
reg = <0x0 0x19000 0x0 0x20>;

arch/arm64/boot/dts/amlogic/meson-g12.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
23
/*
34
* Copyright (c) 2019 BayLibre, SAS

0 commit comments

Comments
 (0)