dt-bindings: Add devicetree bindings
Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
This commit is contained in:
18
bindings/net/ieee802154/adf7242.txt
Normal file
18
bindings/net/ieee802154/adf7242.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
* ADF7242 IEEE 802.15.4 *
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "adi,adf7242", "adi,adf7241"
|
||||
- spi-max-frequency: maximal bus speed (12.5 MHz)
|
||||
- reg: the chipselect index
|
||||
- interrupts: the interrupt generated by the device via pin IRQ1.
|
||||
IRQ_TYPE_LEVEL_HIGH (4) or IRQ_TYPE_EDGE_FALLING (1)
|
||||
|
||||
Example:
|
||||
|
||||
adf7242@0 {
|
||||
compatible = "adi,adf7242";
|
||||
spi-max-frequency = <10000000>;
|
||||
reg = <0>;
|
||||
interrupts = <98 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
};
|
27
bindings/net/ieee802154/at86rf230.txt
Normal file
27
bindings/net/ieee802154/at86rf230.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
* AT86RF230 IEEE 802.15.4 *
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "atmel,at86rf230", "atmel,at86rf231",
|
||||
"atmel,at86rf233" or "atmel,at86rf212"
|
||||
- spi-max-frequency: maximal bus speed, should be set to 7500000 depends
|
||||
sync or async operation mode
|
||||
- reg: the chipselect index
|
||||
- interrupts: the interrupt generated by the device. Non high-level
|
||||
can occur deadlocks while handling isr.
|
||||
|
||||
Optional properties:
|
||||
- reset-gpio: GPIO spec for the rstn pin
|
||||
- sleep-gpio: GPIO spec for the slp_tr pin
|
||||
- xtal-trim: u8 value for fine tuning the internal capacitance
|
||||
arrays of xtal pins: 0 = +0 pF, 0xf = +4.5 pF
|
||||
|
||||
Example:
|
||||
|
||||
at86rf231@0 {
|
||||
compatible = "atmel,at86rf231";
|
||||
spi-max-frequency = <7500000>;
|
||||
reg = <0>;
|
||||
interrupts = <19 4>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
xtal-trim = /bits/ 8 <0x06>;
|
||||
};
|
28
bindings/net/ieee802154/ca8210.txt
Normal file
28
bindings/net/ieee802154/ca8210.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
* CA8210 IEEE 802.15.4 *
|
||||
|
||||
Required properties:
|
||||
- compatible: Should be "cascoda,ca8210"
|
||||
- reg: Controlling chip select
|
||||
- spi-max-frequency: Maximum clock speed, should be *less than*
|
||||
4000000
|
||||
- spi-cpol: Requires inverted clock polarity
|
||||
- reset-gpio: GPIO attached to reset
|
||||
- irq-gpio: GPIO attached to IRQ
|
||||
Optional properties:
|
||||
- extclock-enable: Include for the ca8210 to route its 16MHz clock
|
||||
to an output
|
||||
- extclock-freq: Frequency in Hz of the external clock
|
||||
- extclock-gpio: GPIO of the ca8210 to output the clock on
|
||||
|
||||
Example:
|
||||
ca8210@0 {
|
||||
compatible = "cascoda,ca8210";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
spi-cpol;
|
||||
reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
|
||||
irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
extclock-enable;
|
||||
extclock-freq = 16000000;
|
||||
extclock-gpio = 2;
|
||||
};
|
33
bindings/net/ieee802154/cc2520.txt
Normal file
33
bindings/net/ieee802154/cc2520.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
*CC2520 IEEE 802.15.4 Compatible Radio*
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "ti,cc2520"
|
||||
- spi-max-frequency: maximal bus speed (8000000), should be set to 4000000 depends
|
||||
sync or async operation mode
|
||||
- reg: the chipselect index
|
||||
- pinctrl-0: pin control group to be used for this controller.
|
||||
- pinctrl-names: must contain a "default" entry.
|
||||
- fifo-gpio: GPIO spec for the FIFO pin
|
||||
- fifop-gpio: GPIO spec for the FIFOP pin
|
||||
- sfd-gpio: GPIO spec for the SFD pin
|
||||
- cca-gpio: GPIO spec for the CCA pin
|
||||
- vreg-gpio: GPIO spec for the VREG pin
|
||||
- reset-gpio: GPIO spec for the RESET pin
|
||||
Optional properties:
|
||||
- amplified: include if the CC2520 is connected to a CC2591 amplifier
|
||||
|
||||
Example:
|
||||
cc2520@0 {
|
||||
compatible = "ti,cc2520";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <4000000>;
|
||||
amplified;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cc2520_cape_pins>;
|
||||
fifo-gpio = <&gpio1 18 0>;
|
||||
fifop-gpio = <&gpio1 19 0>;
|
||||
sfd-gpio = <&gpio1 13 0>;
|
||||
cca-gpio = <&gpio1 16 0>;
|
||||
vreg-gpio = <&gpio0 31 0>;
|
||||
reset-gpio = <&gpio1 12 0>;
|
||||
};
|
23
bindings/net/ieee802154/mcr20a.txt
Normal file
23
bindings/net/ieee802154/mcr20a.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
* MCR20A IEEE 802.15.4 *
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "nxp,mcr20a"
|
||||
- spi-max-frequency: maximal bus speed, should be set to a frequency
|
||||
lower than 9000000 depends sync or async operation mode
|
||||
- reg: the chipselect index
|
||||
- interrupts: the interrupt generated by the device. Non high-level
|
||||
can occur deadlocks while handling isr.
|
||||
|
||||
Optional properties:
|
||||
- rst_b-gpio: GPIO spec for the RST_B pin
|
||||
|
||||
Example:
|
||||
|
||||
mcr20a@0 {
|
||||
compatible = "nxp,mcr20a";
|
||||
spi-max-frequency = <9000000>;
|
||||
reg = <0>;
|
||||
interrupts = <17 2>;
|
||||
interrupt-parent = <&gpio>;
|
||||
rst_b-gpio = <&gpio 27 1>
|
||||
};
|
20
bindings/net/ieee802154/mrf24j40.txt
Normal file
20
bindings/net/ieee802154/mrf24j40.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
* MRF24J40 IEEE 802.15.4 *
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "microchip,mrf24j40", "microchip,mrf24j40ma",
|
||||
or "microchip,mrf24j40mc" depends on your transceiver
|
||||
board
|
||||
- spi-max-frequency: maximal bus speed, should be set something under or equal
|
||||
10000000
|
||||
- reg: the chipselect index
|
||||
- interrupts: the interrupt generated by the device.
|
||||
|
||||
Example:
|
||||
|
||||
mrf24j40ma@0 {
|
||||
compatible = "microchip,mrf24j40ma";
|
||||
spi-max-frequency = <8500000>;
|
||||
reg = <0>;
|
||||
interrupts = <19 8>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
};
|
Reference in New Issue
Block a user