soc: qcom: add EBI2 support and do ethernet
cover soc: qcom: add EBI2 support and do ethernet
This set of patches (in additions to some orthogonal patches sent ot netdev for the smsc911x) enables ethernet on the APQ8060 Dragonboard.
Ethernet uses the mysterious (yes that is the right word) EBI2 external bus interface that only have sparse references in documentation and some quite opaque code fragments here and there to support it.
If any of you can help me with documentation on this beast, I'd be happy. The XMEMC bitfields especially.
The target for the patches is Kernel v4.9 or so, don't stress.
Linus Walleij (4):
soc: qcom: add an EBI2 device tree bindings
soc: qcom: add EBI2 driver
ARM: dts: add EBI2 to the Qualcomm MSM8660 DTSI
ARM: dts: add SMSC ethernet on the APQ8060 Dragonboard
.../devicetree/bindings/soc/qcom/qcom,ebi2.txt | 134 ++++++++ arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 130 ++++++++ arch/arm/boot/dts/qcom-msm8660.dtsi | 12 + drivers/soc/qcom/Kconfig | 8 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/ebi2.c | 371 +++++++++++++++++++++ 6 files changed, 656 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt create mode 100644 drivers/soc/qcom/ebi2.c
Signature · 1 line
2.7.4
PATCH 1/4 soc: qcom: add an EBI2 device tree bindings
This adds device tree bindings for the External Bus Interface 2, EBI2 to the Qualcomm SoC drivers.
---
Whoever has documentation on this block and willing to share: either share the documentation or tell me what I'm doing wrong by rephrasing. Thanks.
--- .../devicetree/bindings/soc/qcom/qcom,ebi2.txt | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +134 -0
@@ -0,0 +1,134 @@ +Qualcomm External Bus Interface 2 (EBI2) + +The EBI2 contains two peripheral blocks: XMEM and LCDC. The XMEM handles any +external memory (such as NAND or other memory-mapped peripherals) whereas +LCDC handles LCD displays. + +As it says it connects devices to an external bus interface, meaning address +lines (up to 9 address lines so can only address 1KiB external memory space), +data lines (16 bits), OE (output enable), ADV (address valid, used on some +NOR flash memories), WE (write enable). This on top of 6 different chip selects +(CS0 thru CS5) so that in theory 6 different devices can be connected. + +Apparently this bus is clocked at 64MHz. It has dedicated pins on the package +and the bus can only come out on these pins, however if some of the pins are +unused they can be left unconnected or remuxed to be used as GPIO or in some +cases other orthogonal functions as well. + +Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. + +The chip selects have the following memory range assignments. This region of +memory is referred to as "Chip Peripheral SS FPB0" and is 168MB big. + +Chip Select Physical address base +CS0 GPIO134 0x1a800000-0x1b000000 (8MB) +CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) +CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) +CS3 GPIO133 0x1d000000-0x25000000 (128 MB) +CS4 GPIO132 0x1c800000-0x1d000000 (8MB) +CS5 GPIO131 0x1c000000-0x1c800000 (8MB) + +The APQ8060 Qualcomm Application Processor User Guide, 80-N7150-14 Rev. A, +August 6, 2012 contains some incomplete documentation of the EBI2. + +FIXME: the manual mentions "write precharge cycles" and "precharge cycles". +We have not been able to figure out which bit fields these correspond to +in the hardware, or what valid values exist. The current hypothesis is that +this is something just used on the FAST chip selects and that the SLOW +chip selects are understood fully. There is also a "byte device enable" +flag somewhere for 8bit memories. + +FIXME: The chipselects have SLOW and FAST configuration registers. It's a bit +unclear what this means, if they are mutually exclusive or can be used +together, or if some chip selects are hardwired to be FAST and others are SLOW +by design. + +The XMEM registers are totally undocumented but could be partially decoded +because the Cypress AN49576 Antioch Westbridge apparently has suspiciously +similar register layout, see: http://www.cypress.com/file/105771/download + +Required properties: +- compatible: should be "qcom,ebi2" +- #address-cells: shoule be <1> +- #size-cells: should be <1> +- ranges: boolean should be present +- reg: two ranges of registers: EBI2 config and XMEM config areas +- reg-names: should be "ebi2", "xmem" +- clocks: two clocks, EBI_2X and EBI +- clock-names: shoule be "ebi2x", "ebi2" + +Optional subnodes: +- Nodes inside the EBI2 will be considered chipselect nodes. For each + chipselect under the EBI2 node you should have the following required + properties: + +Required subnode properties: +- chipselect: <N> where N is the chipselect configured in this node +- address-cells: should be <1> +- size-cells: should be <1> +- ranges: bool should be present + +Optional subnode properties for SLOW chip selects: +- xmem-recovery-cycles: recovery cycles is the time the memory continues to + drive the data bus after OE is de-asserted, in order to avoid contention on + the data bus. They are inserted when reading one CS and switching to another + CS or read followed by write on the same CS. Valid values 0 thru 15. Minimum + value is actually 1, so a value of 0 will still yield 1 recovery cycle. +- xmem-write-hold-cycles: write hold cycles, these are extra cycles inserted + after every write minimum 1. The data out is driven from the time WE is + asserted until CS is asserted. With a hold of 1 (value = 0), the CS stays + active for 1 extra cycle etc. Valid values 0 thru 15. +- xmem-write-delta-cycles: initial latency for write cycles inserted for the + first write to a page or burst memory. Valid values 0 thru 255. +- xmem-read-delta-cycles: initial latency for read cycles inserted for the + first read to a page or burst memory. Valid values 0 thru 255. +- xmem-write-wait-cycles: number of wait cycles for every write access, 0=1 + cycle. Valid values 0 thru 15. +- xmem-read-wait-cycles: number of wait cycles for every read access, 0=1 + cycle. Valid values 0 thru 15. + +Optional subnode properties for FAST chip selects: +- xmem-address-hold-enable: this is a boolean property stating that we shall + holde the address for an extra cycle to meet hold time requirements with ADV + assertion. +- xmem-adv-to-oe-recovery-cycles: the number of cycles elapsed before an OE + assertion, with respect to the cycle where ADV (address valid) is asserted. + 2 means 2 cycles between ADV and OE. Valid values 0, 1, 2 or 3. +- xmem-read-hold-cycles: the length in cycles of the first segment of a read + transfer. For a single read trandfer this will be the time from CS assertion + to OE assertion. Valid values 0 thru 15. + +Example: + +ebi2 at 1a100000 { + compatible = "qcom,ebi2"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>; + reg-names = "ebi2", "xmem"; + clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>; + clock-names = "ebi2x", "ebi2"; + /* Make sure to set up the pin control for the EBI2 */ + pinctrl-names = "default"; + pinctrl-0 = <&foo_ebi2_pins>; + + cs2 at 1b800000 { + chipselect = <2>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + xmem-recovery-cycles = <0>; + xmem-write-hold-cycles = <3>; + xmem-write-delta-cycles = <31>; + xmem-read-delta-cycles = <28>; + xmem-write-wait-cycles = <9>; + xmem-read-wait-cycles = <9>; + + foo-ebi2 at 1b800000 { + compatible = "foo"; + reg = <0x1b800000 0x100>; + (...) + }; + }; +};
Signature · 1 line
2.7.4
Rob Herring
maintainerPATCH 1/4 soc: qcom: add an EBI2 device tree bindings
Quoted 60 lines · Linus Walleij
This adds device tree bindings for the External Bus Interface 2, EBI2 to the Qualcomm SoC drivers.
Cc devicetree at vger.kernel.orgSigned-off-by Linus Walleij <[email protected]>---
Whoever has documentation on this block and willing to share: either share the documentation or tell me what I'm doing wrong by rephrasing. Thanks.--- .../devicetree/bindings/soc/qcom/qcom,ebi2.txt | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txtDocumentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +41
-0@@ -0,0 +1,134 @@ +Qualcomm External Bus Interface 2 (EBI2) + +The EBI2 contains two peripheral blocks: XMEM and LCDC. The XMEM handles any +external memory (such as NAND or other memory-mapped peripherals) whereas +LCDC handles LCD displays. + +As it says it connects devices to an external bus interface, meaning address +lines (up to 9 address lines so can only address 1KiB external memory space), +data lines (16 bits), OE (output enable), ADV (address valid, used on some +NOR flash memories), WE (write enable). This on top of 6 different chip selects +(CS0 thru CS5) so that in theory 6 different devices can be connected. + +Apparently this bus is clocked at 64MHz. It has dedicated pins on the package +and the bus can only come out on these pins, however if some of the pins are +unused they can be left unconnected or remuxed to be used as GPIO or in some +cases other orthogonal functions as well. + +Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. + +The chip selects have the following memory range assignments. This region of +memory is referred to as "Chip Peripheral SS FPB0" and is 168MB big. + +Chip Select Physical address base +CS0 GPIO134 0x1a800000-0x1b000000 (8MB) +CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) +CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) +CS3 GPIO133 0x1d000000-0x25000000 (128 MB) +CS4 GPIO132 0x1c800000-0x1d000000 (8MB) +CS5 GPIO131 0x1c000000-0x1c800000 (8MB) + +The APQ8060 Qualcomm Application Processor User Guide, 80-N7150-14 Rev. A, +August 6, 2012 contains some incomplete documentation of the EBI2. + +FIXME: the manual mentions "write precharge cycles" and "precharge cycles". +We have not been able to figure out which bit fields these correspond to +in the hardware, or what valid values exist. The current hypothesis is that +this is something just used on the FAST chip selects and that the SLOW +chip selects are understood fully. There is also a "byte device enable" +flag somewhere for 8bit memories. + +FIXME: The chipselects have SLOW and FAST configuration registers. It's a bit
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt line 51
Quoted 10 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +10
-0+unclear what this means, if they are mutually exclusive or can be used +together, or if some chip selects are hardwired to be FAST and others are SLOW +by design. + +The XMEM registers are totally undocumented but could be partially decoded +because the Cypress AN49576 Antioch Westbridge apparently has suspiciously +similar register layout, see: http://www.cypress.com/file/105771/download + +Required properties: +- compatible: should be "qcom,ebi2"
Chip specific compatible string please.
Quoted 5 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +5
-0+- #address-cells: shoule be <1> +- #size-cells: should be <1> +- ranges: boolean should be present +- reg: two ranges of registers: EBI2 config and XMEM config areas +- reg-names: should be "ebi2", "xmem"
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt line 66
Quoted 10 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +10
-0+- clocks: two clocks, EBI_2X and EBI +- clock-names: shoule be "ebi2x", "ebi2" + +Optional subnodes: +- Nodes inside the EBI2 will be considered chipselect nodes. For each + chipselect under the EBI2 node you should have the following required + properties: + +Required subnode properties: +- chipselect: <N> where N is the chipselect configured in this node
Follow the other external buses that put the CS# in the reg property.
Quoted 12 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +12
-0+- address-cells: should be <1> +- size-cells: should be <1> +- ranges: bool should be present + +Optional subnode properties for SLOW chip selects: +- xmem-recovery-cycles: recovery cycles is the time the memory continues to + drive the data bus after OE is de-asserted, in order to avoid contention on + the data bus. They are inserted when reading one CS and switching to another + CS or read followed by write on the same CS. Valid values 0 thru 15. Minimum + value is actually 1, so a value of 0 will still yield 1 recovery cycle. +- xmem-write-hold-cycles: write hold cycles, these are extra cycles inserted + after every write minimum 1. The data out is driven from the time WE is
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt line 88
Quoted 10 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +10
-0+ asserted until CS is asserted. With a hold of 1 (value = 0), the CS stays + active for 1 extra cycle etc. Valid values 0 thru 15. +- xmem-write-delta-cycles: initial latency for write cycles inserted for the + first write to a page or burst memory. Valid values 0 thru 255. +- xmem-read-delta-cycles: initial latency for read cycles inserted for the + first read to a page or burst memory. Valid values 0 thru 255. +- xmem-write-wait-cycles: number of wait cycles for every write access, 0=1 + cycle. Valid values 0 thru 15. +- xmem-read-wait-cycles: number of wait cycles for every read access, 0=1 + cycle. Valid values 0 thru 15.
Vendor prefix on all these.
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt line 99
Quoted 11 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +11
-0+ +Optional subnode properties for FAST chip selects: +- xmem-address-hold-enable: this is a boolean property stating that we shall + holde the address for an extra cycle to meet hold time requirements with ADV + assertion. +- xmem-adv-to-oe-recovery-cycles: the number of cycles elapsed before an OE + assertion, with respect to the cycle where ADV (address valid) is asserted. + 2 means 2 cycles between ADV and OE. Valid values 0, 1, 2 or 3. +- xmem-read-hold-cycles: the length in cycles of the first segment of a read + transfer. For a single read trandfer this will be the time from CS assertion + to OE assertion. Valid values 0 thru 15.
ditto
Quoted 19 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +19
-0+ +Example: + +ebi2 at 1a100000 { + compatible = "qcom,ebi2"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>; + reg-names = "ebi2", "xmem"; + clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>; + clock-names = "ebi2x", "ebi2"; + /* Make sure to set up the pin control for the EBI2 */ + pinctrl-names = "default"; + pinctrl-0 = <&foo_ebi2_pins>; + + cs2 at 1b800000 { + chipselect = <2>; + #address-cells = <1>;
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt line 128
Quoted 10 lines
Documentation/devicetree/bindings/soc/qcom/qcom,ebi2.txt new file +10
-0+ #size-cells = <1>; + ranges; + xmem-recovery-cycles = <0>; + xmem-write-hold-cycles = <3>; + xmem-write-delta-cycles = <31>; + xmem-read-delta-cycles = <28>; + xmem-write-wait-cycles = <9>; + xmem-read-wait-cycles = <9>; + + foo-ebi2 at 1b800000 {
Generally, external buses are done in 2 levels. Please follow other examples, or is there some reason not to?
PATCH 2/4 soc: qcom: add EBI2 driver
In reply to Linus WalleijThis adds a driver for the Qualcomm External Bus Interface EBI2 found in the MSM8660 and APQ8060 SoCs (at least).
This was tested with the SMSC9112 ethernet on the APQ8060 Dragonboard sitting on top of the SLOW CS2.
Some of my understanding if very vague and based on guesses and
extrapolations: the documentation in APQ8060 Qualcomm Application Processor User Guide 80-N7150-14 Rev. A describes select features but does not document the register bit fields.
However I had to do something like this to provide a serious driver, I have marked the guesses with /* GUESS */
---
Whoever has documentation on this block and willing to share: either share the documentation or tell me what I'm doing wrong by explicitly describing the bitfields. Thanks.
--- drivers/soc/qcom/Kconfig | 8 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/ebi2.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 380 insertions(+) create mode 100644 drivers/soc/qcom/ebi2.c
drivers/soc/qcom/Kconfig +8 -0
@@ -76,3 +76,11 @@ config QCOM_WCNSS_CTRL help Client driver for the WCNSS_CTRL SMD channel, used to download nv firmware to a newly booted WCNSS chip. + +config QCOM_EBI2 + bool "Qualcomm External Bus Interface 2 (EBI2)" + default y if ARCH_MSM8X60 + help + Say y here to enable support for the Qualcomm External Bus + Interface 2, which can be used to connect things like NAND Flash, + SRAM, ethernet adapters, FPGAs and LCD displays.
drivers/soc/qcom/Makefile +1 -0
@@ -7,3 +7,4 @@ obj-$(CONFIG_QCOM_SMEM_STATE) += smem_state.o obj-$(CONFIG_QCOM_SMP2P) += smp2p.o obj-$(CONFIG_QCOM_SMSM) += smsm.o obj-$(CONFIG_QCOM_WCNSS_CTRL) += wcnss_ctrl.o +obj-$(CONFIG_QCOM_EBI2) += ebi2.o
drivers/soc/qcom/ebi2.c new file +371 -0
371 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 3/4 ARM: dts: add EBI2 to the Qualcomm MSM8660 DTSI
In reply to Linus WalleijThis adds the external bus interface EBI2 to the MSM8660 device tree, albeit with status = "disabled" so that devices actually using EBI2 can turn it on if needed.
--- arch/arm/boot/dts/qcom-msm8660.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/qcom-msm8660.dtsi +12 -0
@@ -140,6 +140,18 @@ }; }; + ebi2 at 1a100000 { + compatible = "qcom,ebi2"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>; + reg-names = "ebi2", "xmem"; + clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>; + clock-names = "ebi2x", "ebi2"; + status = "disabled"; + }; + qcom,ssbi at 500000 { compatible = "qcom,ssbi"; reg = <0x500000 0x1000>;
Signature · 1 line
2.7.4
PATCH 4/4 ARM: dts: add SMSC ethernet on the APQ8060 Dragonboard
In reply to Linus WalleijThe SMSC9112 ethernet controller is connected to chip select 2 on the EBI2 bus on the APQ8060 Dragonboard. We set this up by activating EBI2, creating a chipselect entry as a subnode, and then putting the ethernet controller in a subnode of the chipselect.
After the chipselect is configured, the SMSC device will be instantiated.
--- arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 130 +++++++++++++++++++++++++ 1 file changed, 130 insertions(+)
arch/arm/boot/dts/qcom-apq8060-dragonboard.dts +130 -0
@@ -51,6 +51,29 @@ regulator-boot-on; }; + /* GPIO controlled ethernet power regulator */ + dragon_veth: xc622a331mrg { + compatible = "regulator-fixed"; + regulator-name = "XC6222A331MR-G"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vph>; + gpio = <&pm8058_gpio 40 GPIO_ACTIVE_HIGH>; + enable-active-high; + pinctrl-names = "default"; + pinctrl-0 = <&dragon_veth_gpios>; + regulator-always-on; + }; + + /* VDDvario fixed regulator */ + dragon_vario: nds332p { + compatible = "regulator-fixed"; + regulator-name = "NDS332P"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&pm8058_s3>; + }; + /* This is a levelshifter for SDCC5 */ dragon_vio_txb: txb0104rgyr { compatible = "regulator-fixed";
@@ -167,6 +190,41 @@ bias-pull-up; }; }; + + dragon_ebi2_pins: ebi2 { + /* + * Pins used by EBI2 on the Dragonboard, actually only + * only CS2 is used by a real peripheral. CS0 is just + * routed to a test point. + */ + mux0 { + /* + * Pins used by EBI2 on the Dragonboard, actually only + * only CS2 is used by a real peripheral. CS0 is just + * routed to a test point. + */ + pins = + /* "gpio39", CS1A_N this is not good to mux */ + "gpio40", /* CS2A_N */ + "gpio134"; /* CS0_N testpoint TP29 */ + function = "ebi2cs"; + }; + mux1 { + pins = + /* EBI2_ADDR_7 downto EBI2_ADDR_0 address bus */ + "gpio123", "gpio124", "gpio125", "gpio126", + "gpio127", "gpio128", "gpio129", "gpio130", + /* EBI2_DATA_15 downto EBI2_DATA_0 data bus */ + "gpio135", "gpio136", "gpio137", "gpio138", + "gpio139", "gpio140", "gpio141", "gpio142", + "gpio143", "gpio144", "gpio145", "gpio146", + "gpio147", "gpio148", "gpio149", "gpio150", + "gpio151", /* EBI2_OE_N */ + "gpio153", /* EBI2_ADV */ + "gpio157"; /* EBI2_WE_N */ + function = "ebi2"; + }; + }; }; qcom,ssbi at 500000 {
@@ -201,6 +259,15 @@ }; gpio at 150 { + dragon_ethernet_gpios: ethernet-gpios { + pinconf { + pins = "gpio7"; + function = "normal"; + input-enable; + bias-disable; + power-source = <PM8058_GPIO_S3>; + }; + }; dragon_bmp085_gpios: bmp085-gpios { pinconf { pins = "gpio16";
@@ -238,6 +305,15 @@ power-source = <PM8058_GPIO_S3>; }; }; + dragon_veth_gpios: veth-gpios { + pinconf { + pins = "gpio40"; + function = "normal"; + bias-disable; + drive-push-pull; + // power-source = <PM8058_GPIO_S3>; + }; + }; }; }; };
@@ -283,6 +359,60 @@ }; }; + ebi2 at 1a100000 { + /* The EBI2 will instantiate first, then populate its children */ + status = "ok"; + pinctrl-names = "default"; + pinctrl-0 = <&dragon_ebi2_pins>; + + cs2 at 1b800000 { + chipselect = <2>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + /* + * SLOW chipselect config + * Delay 9 cycles (140ns at 64MHz) between SMSC LAN9221 + * Ethernet controller reads and writes. + */ + xmem-recovery-cycles = <0>; + xmem-write-hold-cycles = <3>; + xmem-write-delta-cycles = <31>; + xmem-read-delta-cycles = <28>; + xmem-write-wait-cycles = <9>; + xmem-read-wait-cycles = <9>; + + /* + * An on-board SMSC LAN9221 chip for "debug ethernet", + * which is actually just an ordinary ethernet on the + * EBI2. This has a 25MHz chrystal next to it, so no + * clocking is needed. + */ + ethernet-ebi2 at 1b800000 { + compatible = "smsc,lan9221", "smsc,lan9115"; + reg = <0x1b800000 0x100>; + /* + * GPIO7 has interrupt 198 on the PM8058 + * The second interrupt is the PME interrupt + * for network wakeup, connected to the TLMM. + */ + interrupts-extended = <&pmicintc 198 IRQ_TYPE_EDGE_FALLING>, + <&tlmm 29 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>; + vdd33a-supply = <&dragon_veth>; + vddvario-supply = <&dragon_vario>; + pinctrl-names = "default"; + pinctrl-0 = <&dragon_ethernet_gpios>; + phy-mode = "mii"; + reg-io-width = <2>; + smsc,force-external-phy; + /* IRQ on edge falling = active low */ + smsc,irq-active-low; + smsc,irq-push-pull; + }; + }; + }; + rpm at 104000 { /* * Set up of the PMIC RPM regulators for this board
Signature · 1 line
2.7.4