diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-01-19 05:41:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-01-19 05:41:44 +0100 |
commit | 5fb76871a15151cb725b2d11814f4236429a8634 (patch) | |
tree | 8fca8f8151cb1b60bc2b6f9d134e8c76c16ef09a /Documentation | |
parent | 83ec121f239b6af42a408ea75930e3733c27c79a (diff) | |
parent | ff8b098a4ad26688a8f2a853a864903b47f240d6 (diff) | |
download | barebox-5fb76871a15151cb725b2d11814f4236429a8634.tar.gz barebox-5fb76871a15151cb725b2d11814f4236429a8634.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/firmware/altr,passive-serial.rst (renamed from Documentation/devicetree/bindings/firmware/altr,passive-serial.txt) | 16 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.rst (renamed from Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.txt) | 8 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mtd/partition.rst | 42 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mtd/partition.txt | 39 |
4 files changed, 56 insertions, 49 deletions
diff --git a/Documentation/devicetree/bindings/firmware/altr,passive-serial.txt b/Documentation/devicetree/bindings/firmware/altr,passive-serial.rst index eec12fbace..1012137bc9 100644 --- a/Documentation/devicetree/bindings/firmware/altr,passive-serial.txt +++ b/Documentation/devicetree/bindings/firmware/altr,passive-serial.rst @@ -1,20 +1,22 @@ Altera FPGAs in passive serial mode ------------------------------------ +=================================== This binding defines the control interface to Altera FPGAs in passive serial mode. This is used to upload the firmware and to start the FPGA. Required properties: -- compatible: shall be "altr,fpga-passive-serial" or - "altr,fpga-arria10-passive-serial" for Arria 10 -- reg: SPI chip select -- nstat-gpios: Specify GPIO for controlling the nstat pin -- confd-gpios: Specify GPIO for controlling the confd pin -- nconfig-gpios: Specify GPIO for controlling the nconfig pin +- ``compatible``: shall be ``"altr,fpga-passive-serial"`` or + ``"altr,fpga-arria10-passive-serial"`` for Arria 10 +- ``reg``: SPI chip select +- ``nstat-gpios``: Specify GPIO for controlling the nstat pin +- ``confd-gpios``: Specify GPIO for controlling the confd pin +- ``nconfig-gpios``: Specify GPIO for controlling the nconfig pin Example: +.. code-block:: none + fpga@0 { compatible = "altr,fpga-passive-serial"; nstat-gpios = <&gpio4 18 0>; diff --git a/Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.txt b/Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.rst index 70ec4abf25..9f7de6b985 100644 --- a/Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.txt +++ b/Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.rst @@ -1,17 +1,19 @@ Altera SOCFPGA FPGA Manager ---------------------------- +=========================== This binding defines the FPGA Manager on Altera SOCFPGAs. This is used to upload the firmware to the FPGA part of the SoC. Required properties: -- compatible: shall be "altr,socfpga-fpga-mgr" -- reg: Must contain 2 register ranges: +- ``compatible``: shall be ``"altr,socfpga-fpga-mgr"`` +- ``reg``: Must contain 2 register ranges: 1. The control address space of the FPGA manager. 2. The configuration data address space where the firmware data is written to. Example: +.. code-block:: none + fpgamgr@ff706000 { compatible = "altr,socfpga-fpga-mgr"; reg = <0xff706000 0x1000>, diff --git a/Documentation/devicetree/bindings/mtd/partition.rst b/Documentation/devicetree/bindings/mtd/partition.rst new file mode 100644 index 0000000000..6db54070a9 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partition.rst @@ -0,0 +1,42 @@ +Representing flash partitions in devicetree +=========================================== + +In addition to the upstream binding, another property is added: + +Optional properties: +- ``partuuid`` : The partition UUID for this partition. + +Additionally, barebox also supports partitioning the eMMC boot partitions if +the partition table node is named appropriately: +- ``partitions`` : user partition +- ``boot0-partitions`` : boot0 partition +- ``boot1-partitions`` : boot1 partition + +Examples: + +.. code-block:: none + + flash@0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + state_part: state { + partuuid = "16367da7-c518-499f-9aad-e1f366692365"; + }; + }; + }; + + emmc@1 { + boot0-partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + barebox@0 { + label = "barebox"; + reg = <0x0 0x300000>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt deleted file mode 100644 index 4288a82437..0000000000 --- a/Documentation/devicetree/bindings/mtd/partition.txt +++ /dev/null @@ -1,39 +0,0 @@ -Representing flash partitions in devicetree - -In addition to the upstream binding, another property is added: - -Optional properties: -- partuuid : The partition UUID for this partition. - -Additionally, barebox also supports partitioning the eMMC boot partitions if -the partition table node is named appropriately: -- partitions : user partition -- boot0-partitions : boot0 partition -- boot1-partitions : boot1 partition - -Examples: - -flash@0 { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - state_part: state { - partuuid = "16367da7-c518-499f-9aad-e1f366692365"; - }; - }; -}; - -emmc@1 { - boot0-partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - barebox@0 { - label = "barebox"; - reg = <0x0 0x300000>; - }; - }; -}; |