diff options
author | Zhao Qiang <qiang.zhao@freescale.com> | 2015-08-20 07:30:54 (GMT) |
---|---|---|
committer | Zhao Qiang <qiang.zhao@freescale.com> | 2015-08-21 02:55:42 (GMT) |
commit | 8d3a3cace24f68b24d7452328fb752244a204dda (patch) | |
tree | b97f06edd4d68a531fb90f7791dd12982409039e | |
parent | f488de6741d5ba805b9fe813d2ddf32368d3a888 (diff) | |
download | linux-fsl-qoriq-8d3a3cace24f68b24d7452328fb752244a204dda.tar.xz |
t104xd4rdb: add DS26522 nodes to device tree
DS26522 is used for tdm, configured by SPI bus.
Add nodes under spi node to t104xd4rdb.dtsi.
Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com>
-rw-r--r-- | Documentation/devicetree/bindings/net/maxim,ds26522.txt | 13 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/t104xd4rdb.dtsi | 10 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/maxim,ds26522.txt b/Documentation/devicetree/bindings/net/maxim,ds26522.txt new file mode 100644 index 0000000..ee8bb72 --- /dev/null +++ b/Documentation/devicetree/bindings/net/maxim,ds26522.txt @@ -0,0 +1,13 @@ +* Maxim (Dallas) DS26522 Dual T1/E1/J1 Transceiver + +Required properties: +- compatible: Should contain "maxim,ds26522". +- reg: SPI CS. +- spi-max-frequency: SPI clock. + +Example: + slic@1 { + compatible = "maxim,ds26522"; + reg = <1>; + spi-max-frequency = <2000000>; /* input clock */ + }; diff --git a/arch/powerpc/boot/dts/t104xd4rdb.dtsi b/arch/powerpc/boot/dts/t104xd4rdb.dtsi index 6c6ac3f..05f40de 100644 --- a/arch/powerpc/boot/dts/t104xd4rdb.dtsi +++ b/arch/powerpc/boot/dts/t104xd4rdb.dtsi @@ -139,6 +139,16 @@ reg = <0>; spi-max-frequency = <10000000>; /* input clock */ }; + slic@1 { + compatible = "maxim,ds26522"; + reg = <1>; + spi-max-frequency = <2000000>; /* input clock */ + }; + slic@2 { + compatible = "maxim,ds26522"; + reg = <2>; + spi-max-frequency = <2000000>; /* input clock */ + }; }; }; |