Fsi bindings
Single-page view · as markdown
ASpeed ColdFire offloaded GPIO-based FSI master
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/aspeed,ast2400-cf-fsi-master.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/fsi/fsi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-cf-fsi-master", "aspeed,ast2500-cf-fsi-master"
clock-gpios — required here #
Maximum number of items (maxItems): 1
GPIO for FSI clock
data-gpios — required here #
Maximum number of items (maxItems): 1
GPIO for FSI data signal
enable-gpios — required here #
Maximum number of items (maxItems): 1
GPIO for enable signal
trans-gpios — required here #
Maximum number of items (maxItems): 1
GPIO for voltage translator enable
mux-gpios — required here #
Maximum number of items (maxItems): 1
GPIO for pin multiplexing with other functions (eg, external FSI masters)
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved memory for the ColdFire. Must be 2M aligned on AST2400 and 1M aligned on AST2500.
aspeed,cvic — required here #
Reference to the CVIC node.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
aspeed,sram — required here #
Reference to the SRAM node.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "clock-gpios", "data-gpios", "enable-gpios", "trans-gpios", "mux-gpios", "memory-region", "aspeed,cvic", "aspeed,sram"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
fsi-master {
compatible = "aspeed,ast2500-cf-fsi-master";
clock-gpios = <&gpio 0>;
data-gpios = <&gpio 1>;
enable-gpios = <&gpio 2>;
trans-gpios = <&gpio 3>;
mux-gpios = <&gpio 4>;
memory-region = <&coldfire_memory>;
aspeed,cvic = <&cvic>;
aspeed,sram = <&sram>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Aspeed FSI master
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The AST2600 and later contain two identical FSI masters. They share a clock and have a separate interrupt line and output pins.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2600-fsi-master", "aspeed,ast2700-fsi-master"
clocks — required here #
Maximum number of items (maxItems): 1
cfam-reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Output GPIO pin for CFAM reset
fsi-routing-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Output GPIO pin for setting the FSI mux (internal or cabled)
fsi-mux-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Input GPIO pin for detecting the desired FSI mux state
interrupts — required here #
Maximum number of items (maxItems): 1
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):1
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Minimum number of items (
minItems):1Array item rules (
items)Item 1
OPB control registers
Item 2
FSI controller registers
Item 3
FSI link address space
reg-names— not listed as required here #Array item rules (
items)Item 1
Exact value (
const):"opb"Item 2
Exact value (
const):"ctrl"Item 3
Exact value (
const):"fsi"
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):fsi-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ast2600-clock.h>
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
fsi-master@1e79b000 {
compatible = "aspeed,ast2600-fsi-master";
reg = <0x1e79b000 0x94>;
#address-cells = <2>;
#size-cells = <0>;
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fsi1_default>;
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
cfam@0,0 {
reg = <0 0>;
#address-cells = <1>;
#size-cells = <1>;
chip-id = <0>;
};
};
bus {
#address-cells = <2>;
#size-cells = <2>;
fsi-master@21800000 {
compatible = "aspeed,ast2700-fsi-master";
reg = <0x0 0x21800000 0x0 0x100>,
<0x0 0x21000000 0x0 0x1000>,
<0x0 0x20000000 0x0 0x1000000>;
reg-names = "opb", "ctrl", "fsi";
#interrupt-cells = <1>;
interrupt-controller;
interrupts-extended = <&intc 6>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fsi0_default>;
clocks = <&syscon 40>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
FSI Controller Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/fsi-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The FSI bus is connected to a CFAM (Common FRU Access Macro) which contains various engines such as I2C controllers, SPI controllers, etc.
Properties and child nodes (properties) #
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 0
#interrupt-cells — not listed as required here #
Exact value (const): 1
bus-frequency — not listed as required here #
Minimum value (minimum): 1
Maximum value (maximum): 200000000
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
no-scan-on-init — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
The FSI controller cannot scan the bus during initialization.
Properties matching a name pattern (patternProperties) #
cfam@[0-9a-f],[0-9a-f] — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
chip-id — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Processor index, a global unique chip ID which is used to identify the physical location of the chip in a system specific way.
bus-frequency — not listed as required here
Minimum value (minimum): 1
Maximum value (maximum): 100000000
reg — required here
Maximum number of items (maxItems): 1
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 1
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
fsi-master-gpio
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/fsi-master-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/fsi/fsi-controller.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fsi-master-gpio"
clock-gpios — required here #
GPIO for FSI clock
Maximum number of items (maxItems): 1
data-gpios — required here #
GPIO for FSI data signal
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
GPIO for enable signal
Maximum number of items (maxItems): 1
trans-gpios — not listed as required here #
GPIO for voltage translator enable
Maximum number of items (maxItems): 1
mux-gpios — not listed as required here #
GPIO for pin multiplexing with other functions (eg, external FSI masters)
Maximum number of items (maxItems): 1
no-gpio-delays — not listed as required here #
Don't add extra delays between GPIO accesses. This is useful when the HW GPIO block is running at a low enough frequency.
Value type (type): "boolean"
Required in this object (required): "compatible", "clock-gpios", "data-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
fsi-master {
compatible = "fsi-master-gpio";
clock-gpios = <&gpio 0>;
data-gpios = <&gpio 1>;
enable-gpios = <&gpio 2>;
trans-gpios = <&gpio 3>;
mux-gpios = <&gpio 4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
IBM FSI-attached SPI controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this node will always be a child of an FSI CFAM node. This FSI2SPI engine provides access to a number of SPI controllers.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,fsi2spi"
reg — required here #
Array item rules (items) #
Item 1
FSI slave address
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^spi@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/spi/ibm,spi-fsi.yaml
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fsi2spi@1c00 {
compatible = "ibm,fsi2spi";
reg = <0x1c00 0x400>;
#address-cells = <1>;
#size-cells = <0>;
spi@0 {
compatible = "ibm,spi-fsi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
compatible = "atmel,at25";
reg = <0>;
address-width = <24>;
pagesize = <256>;
size = <0x80000>;
spi-max-frequency = <1000000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-or-later)
IBM I2C Responder virtual FSI master
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and writes or SCOM operations, thereby acting as an FSI master.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,i2cr-fsi-master"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):fsi-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
i2cr@20 {
compatible = "ibm,i2cr-fsi-master";
reg = <0x20>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
IBM FSI-attached FSI Hub Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,p9-fsi-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The FSI Hub Controller is an FSI controller, providing a number of FSI links, located on a CFAM. Therefore this node will always be a child of an FSI CFAM node.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "ibm,p9-fsi-controller"
reg — not listed as required here #
Array item rules (items) #
Item 1
FSI slave address
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):fsi-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
fsi@3400 {
compatible = "ibm,p9-fsi-controller";
reg = <0x3400 0x400>;
#address-cells = <2>;
#size-cells = <0>;
cfam@0,0 {
reg = <0 0>;
#address-cells = <1>;
#size-cells = <1>;
chip-id = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
IBM FSI-attached On-Chip Controller (OCC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The POWER processor On-Chip Controller (OCC) helps manage power and thermals for the system, accessed through the FSI-attached SBEFIFO from a service processor.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,p9-occ", "ibm,p10-occ"
hwmon — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/hwmon/ibm,occ-hwmon.yaml
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
occ {
compatible = "ibm,p9-occ";
hwmon {
compatible = "ibm,p9-occ-hwmon";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
IBM FSI-attached SBEFIFO engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The SBEFIFO is an FSI CFAM engine that provides an interface to the POWER processor Self Boot Engine (SBE). This node will always be a child of an FSI CFAM node.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,p9-sbefifo", "ibm,odyssey-sbefifo"
reg — required here #
Array item rules (items) #
Item 1
FSI slave address
occ — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): ibm,p9-occ.yaml#
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fsi-slave-engine@2400 {
compatible = "ibm,p9-sbefifo";
reg = <0x2400 0x400>;
occ {
compatible = "ibm,p9-occ";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
IBM FSI-attached SCOM engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Fsi bindings
Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,p9-scom.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The SCOM engine is an interface to the POWER processor PIB (Pervasive Interconnect Bus). This node will always be a child of an FSI CFAM node.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,fsi2pib", "ibm,p9-scom", "ibm,i2cr-scom"
reg — required here #
Array item rules (items) #
Item 1
FSI slave address
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
scom@1000 {
compatible = "ibm,p9-scom";
reg = <0x1000 0x400>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)