diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-10-29 00:56:47 +0000 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-13 22:06:08 +0530 |
commit | 1b39a1834ed182bbd8036a5cd74a9ea111fa4691 (patch) | |
tree | 4c61489e558ff80ea928221929e02180c08e9351 /arch/arm/dts/sun50i-a64-sopine.dtsi | |
parent | 2f13cf35d2b80550fcc681d2364d6f9b611577f1 (diff) |
sunxi: A64: Update .dts/.dtsi files
Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree:
commit 679294497be31596e1c9c61507746d72b6b05f26
Author: Rodrigo Exterckötter Tjäder <rodrigo@tjader.xyz>
Date: Wed Sep 26 19:48:24 2018 +0000
arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'arch/arm/dts/sun50i-a64-sopine.dtsi')
-rw-r--r-- | arch/arm/dts/sun50i-a64-sopine.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/sun50i-a64-sopine.dtsi b/arch/arm/dts/sun50i-a64-sopine.dtsi index 43418bd881..6723b8695e 100644 --- a/arch/arm/dts/sun50i-a64-sopine.dtsi +++ b/arch/arm/dts/sun50i-a64-sopine.dtsi @@ -45,6 +45,8 @@ #include "sun50i-a64.dtsi" +#include <dt-bindings/gpio/gpio.h> + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; @@ -52,6 +54,7 @@ non-removable; disable-wp; bus-width = <4>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ status = "okay"; }; @@ -66,6 +69,18 @@ }; }; +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + #include "axp803.dtsi" ®_aldo2 { |