powerpc/t104xd4rdb: add DS26522 nodes to device tree
authorZhao Qiang <qiang.zhao@freescale.com>
Fri, 21 Aug 2015 02:48:56 +0000 (10:48 +0800)
committerScott Wood <scottwood@freescale.com>
Sat, 17 Oct 2015 00:32:11 +0000 (19:32 -0500)
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>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Documentation/devicetree/bindings/net/maxim,ds26522.txt [new file with mode: 0644]
arch/powerpc/boot/dts/t104xd4rdb.dtsi

diff --git a/Documentation/devicetree/bindings/net/maxim,ds26522.txt b/Documentation/devicetree/bindings/net/maxim,ds26522.txt
new file mode 100644 (file)
index 0000000..ee8bb72
--- /dev/null
@@ -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 */
+       };
index 491367bd3883111b6ae0011597abce0784f9b962..3f6d7c6a106b7d18fe52afe6cc3cbb6dbf450fc9 100644 (file)
                                /* input clock */
                                spi-max-frequency = <10000000>;
                        };
+                       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 */
+                       };
                };
                i2c@118000 {
                        hwmon@4c {