Commit 0e5f8977 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Remove Netlogic bindings



Support for Netlogic was removed in commit 95b8a5e0 ("MIPS: Remove
NETLOGIC support"). Remove the now unused bindings.

The GPIO binding also includes "brcm,vulcan-gpio", but it appears to be
unused as well as Broadcom Vulkan became Cavium ThunderX2 which is ACPI
based.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: George Cherian <gcherian@marvell.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-gpio@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211109161707.2209170-1-robh@kernel.org
parent 1b2189f3
Loading
Loading
Loading
Loading
+0 −49
Original line number Diff line number Diff line
Netlogic XLP Family GPIO
========================

This GPIO driver is used for following Netlogic XLP SoCs:
	XLP832, XLP316, XLP208, XLP980, XLP532
This GPIO driver is also compatible with GPIO controller found on
Broadcom Vulcan ARM64.

Required properties:
-------------------

- compatible: Should be one of the following:
  - "netlogic,xlp832-gpio": For Netlogic XLP832
  - "netlogic,xlp316-gpio": For Netlogic XLP316
  - "netlogic,xlp208-gpio": For Netlogic XLP208
  - "netlogic,xlp980-gpio": For Netlogic XLP980
  - "netlogic,xlp532-gpio": For Netlogic XLP532
  - "brcm,vulcan-gpio": For Broadcom Vulcan ARM64
- reg: Physical base address and length of the controller's registers.
- #gpio-cells: Should be two. The first cell is the pin number and the second
  cell is used to specify optional parameters (currently unused).
- gpio-controller: Marks the device node as a GPIO controller.
- nr-gpios: Number of GPIO pins supported by the controller.
- interrupt-cells: Should be two. The first cell is the GPIO Number. The
  second cell is used to specify flags. The following subset of flags is
  supported:
  - trigger type:
	1 = low to high edge triggered.
	2 = high to low edge triggered.
	4 = active high level-sensitive.
	8 = active low level-sensitive.
- interrupts: Interrupt number for this device.
- interrupt-controller: Identifies the node as an interrupt controller.

Example:

	gpio: xlp_gpio@34000 {
		compatible = "netlogic,xlp316-gpio";
		reg = <0 0x34100 0x1000
		       0 0x35100 0x1000>;
		#gpio-cells = <2>;
		gpio-controller;
		nr-gpios = <57>;

		#interrupt-cells = <2>;
		interrupt-parent = <&pic>;
		interrupts = <39>;
		interrupt-controller;
	};
+0 −22
Original line number Diff line number Diff line
Device tree configuration for the I2C controller on the XLP9xx/5xx SoC

Required properties:
- compatible      : should be "netlogic,xlp980-i2c"
- reg             : bus address start and address range size of device
- interrupts      : interrupt number

Optional properties:
- clock-frequency : frequency of bus clock in Hz
                    Defaults to 100 KHz when the property is not specified

Example:

i2c0: i2c@113100 {
	compatible = "netlogic,xlp980-i2c";
	#address-cells = <1>;
	#size-cells = <0>;
	reg = <0 0x113100 0x100>;
	clock-frequency = <400000>;
	interrupts = <30>;
	interrupt-parent = <&pic>;
};
+0 −38
Original line number Diff line number Diff line
SPI Master controller for Netlogic XLP MIPS64 SOCs
==================================================

Currently this SPI controller driver is supported for the following
Netlogic XLP SoCs:
	XLP832, XLP316, XLP208, XLP980, XLP532

Required properties:
- compatible		: Should be "netlogic,xlp832-spi".
- #address-cells	: Number of cells required to define a chip select address
			  on the SPI bus.
- #size-cells		: Should be zero.
- reg			: Should contain register location and length.
- clocks		: Phandle of the spi clock
- interrupts		: Interrupt number used by this controller.

SPI slave nodes must be children of the SPI master node and can contain
properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.

Example:

	spi: xlp_spi@3a100 {
		compatible = "netlogic,xlp832-spi";
		#address-cells = <1>;
		#size-cells = <0>;
		reg = <0 0x3a100 0x100>;
		clocks = <&spi_clk>;
		interrupts = <34>;
		interrupt-parent = <&pic>;

		spi_nor@1 {
			compatible = "spansion,s25sl12801";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <1>;	/* Chip Select */
			spi-max-frequency = <40000000>;
		};
};