Unverified Commit 8e2e6908 authored by Christian Marangi's avatar Christian Marangi Committed by AngeloGioacchino Del Regno
Browse files

arm64: dts: airoha: en7581: Add SNAND node

parent 76930175
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -143,6 +143,29 @@ gic: interrupt-controller@9000000 {
			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
		};

		spi@1fa10000 {
			compatible = "airoha,en7581-snand";
			reg = <0x0 0x1fa10000 0x0 0x140>,
			      <0x0 0x1fa11000 0x0 0x160>;

			clocks = <&scuclk EN7523_CLK_SPI>;
			clock-names = "spi";

			#address-cells = <1>;
			#size-cells = <0>;

			status = "disabled";

			spi_nand: nand@0 {
				compatible = "spi-nand";
				reg = <0>;

				spi-max-frequency = <50000000>;
				spi-tx-bus-width = <1>;
				spi-rx-bus-width = <2>;
			};
		};

		scuclk: clock-controller@1fa20000 {
			compatible = "airoha,en7581-scu";
			reg = <0x0 0x1fb00000 0x0 0x970>;