~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/qca,qca7000.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/net/qca,qca7000.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/net/qca,qca7000.txt (Version linux-4.14.336)


  1 * Qualcomm QCA7000                                  1 * Qualcomm QCA7000
  2                                                     2 
  3 The QCA7000 is a serial-to-powerline bridge wi      3 The QCA7000 is a serial-to-powerline bridge with a host interface which could
  4 be configured either as SPI or UART slave. Thi      4 be configured either as SPI or UART slave. This configuration is done by
  5 the QCA7000 firmware.                               5 the QCA7000 firmware.
  6                                                     6 
  7 (a) Ethernet over SPI                               7 (a) Ethernet over SPI
  8                                                     8 
  9 In order to use the QCA7000 as SPI device it m      9 In order to use the QCA7000 as SPI device it must be defined as a child of a
 10 SPI master in the device tree.                     10 SPI master in the device tree.
 11                                                    11 
 12 Required properties:                               12 Required properties:
 13 - compatible        : Should be "qca,qca7000"      13 - compatible        : Should be "qca,qca7000"
 14 - reg               : Should specify the SPI c     14 - reg               : Should specify the SPI chip select
 15 - interrupts        : The first cell should sp     15 - interrupts        : The first cell should specify the index of the source
 16                       interrupt and the second     16                       interrupt and the second cell should specify the trigger
 17                       type as rising edge          17                       type as rising edge
 18 - spi-cpha          : Must be set                  18 - spi-cpha          : Must be set
 19 - spi-cpol          : Must be set                  19 - spi-cpol          : Must be set
 20                                                    20 
 21 Optional properties:                               21 Optional properties:
                                                   >>  22 - interrupt-parent  : Specify the pHandle of the source interrupt
 22 - spi-max-frequency : Maximum frequency of the     23 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at.
 23                       Numbers smaller than 100     24                       Numbers smaller than 1000000 or greater than 16000000
 24                       are invalid. Missing the     25                       are invalid. Missing the property will set the SPI
 25                       frequency to 8000000 Her     26                       frequency to 8000000 Hertz.
                                                   >>  27 - local-mac-address : see ./ethernet.txt
 26 - qca,legacy-mode   : Set the SPI data transfe     28 - qca,legacy-mode   : Set the SPI data transfer of the QCA7000 to legacy mode.
 27                       In this mode the SPI mas     29                       In this mode the SPI master must toggle the chip select
 28                       between each data word.      30                       between each data word. In burst mode these gaps aren't
 29                       necessary, which is fast     31                       necessary, which is faster. This setting depends on how
 30                       the QCA7000 is setup via     32                       the QCA7000 is setup via GPIO pin strapping. If the
 31                       property is missing the      33                       property is missing the driver defaults to burst mode.
 32                                                    34 
 33 The MAC address will be determined using the o << 
 34 defined in ethernet.txt.                       << 
 35                                                << 
 36 SPI Example:                                       35 SPI Example:
 37                                                    36 
 38 /* Freescale i.MX28 SPI master*/                   37 /* Freescale i.MX28 SPI master*/
 39 ssp2: spi@80014000 {                               38 ssp2: spi@80014000 {
 40         #address-cells = <1>;                      39         #address-cells = <1>;
 41         #size-cells = <0>;                         40         #size-cells = <0>;
 42         compatible = "fsl,imx28-spi";              41         compatible = "fsl,imx28-spi";
 43         pinctrl-names = "default";                 42         pinctrl-names = "default";
 44         pinctrl-0 = <&spi2_pins_a>;                43         pinctrl-0 = <&spi2_pins_a>;
 45                                                    44 
 46         qca7000: ethernet@0 {                      45         qca7000: ethernet@0 {
 47                 compatible = "qca,qca7000";        46                 compatible = "qca,qca7000";
 48                 reg = <0x0>;                       47                 reg = <0x0>;
 49                 interrupt-parent = <&gpio3>;       48                 interrupt-parent = <&gpio3>;      /* GPIO Bank 3 */
 50                 interrupts = <25 0x1>;             49                 interrupts = <25 0x1>;            /* Index: 25, rising edge */
 51                 spi-cpha;                          50                 spi-cpha;                         /* SPI mode: CPHA=1 */
 52                 spi-cpol;                          51                 spi-cpol;                         /* SPI mode: CPOL=1 */
 53                 spi-max-frequency = <8000000>;     52                 spi-max-frequency = <8000000>;    /* freq: 8 MHz */
 54                 local-mac-address = [ A0 B0 C0     53                 local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
 55         };                                         54         };
 56 };                                                 55 };
 57                                                    56 
 58 (b) Ethernet over UART                             57 (b) Ethernet over UART
 59                                                    58 
 60 In order to use the QCA7000 as UART slave it m     59 In order to use the QCA7000 as UART slave it must be defined as a child of a
 61 UART master in the device tree. It is possible     60 UART master in the device tree. It is possible to preconfigure the UART
 62 settings of the QCA7000 firmware, but it's not     61 settings of the QCA7000 firmware, but it's not possible to change them during
 63 runtime.                                           62 runtime.
 64                                                    63 
 65 Required properties:                               64 Required properties:
 66 - compatible        : Should be "qca,qca7000"      65 - compatible        : Should be "qca,qca7000"
 67                                                    66 
 68 Optional properties:                               67 Optional properties:
 69 - local-mac-address : see ./ethernet.txt           68 - local-mac-address : see ./ethernet.txt
 70 - current-speed     : current baud rate of QCA     69 - current-speed     : current baud rate of QCA7000 which defaults to 115200
 71                       if absent, see also ../s !!  70                       if absent, see also ../serial/slave-device.txt
 72                                                    71 
 73 UART Example:                                      72 UART Example:
 74                                                    73 
 75 /* Freescale i.MX28 UART */                        74 /* Freescale i.MX28 UART */
 76 auart0: serial@8006a000 {                          75 auart0: serial@8006a000 {
 77         compatible = "fsl,imx28-auart", "fsl,i     76         compatible = "fsl,imx28-auart", "fsl,imx23-auart";
 78         reg = <0x8006a000 0x2000>;                 77         reg = <0x8006a000 0x2000>;
 79         pinctrl-names = "default";                 78         pinctrl-names = "default";
 80         pinctrl-0 = <&auart0_2pins_a>;             79         pinctrl-0 = <&auart0_2pins_a>;
 81                                                    80 
 82         qca7000: ethernet {                        81         qca7000: ethernet {
 83                 compatible = "qca,qca7000";        82                 compatible = "qca,qca7000";
 84                 local-mac-address = [ A0 B0 C0     83                 local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
 85                 current-speed = <38400>;           84                 current-speed = <38400>;
 86         };                                         85         };
 87 };                                                 86 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php