diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-09-04 08:50:36 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-09 09:52:53 +0200 |
commit | be0e8312e82d1177cc8f46ad2bc2014ed2d3074b (patch) | |
tree | 0de32ad05b3d319186727c648dc13644bc123169 /arch/arm | |
parent | 5a5ba5ad30f22f0e3a4c0c56d180261136e3dfe4 (diff) | |
download | barebox-be0e8312e82d1177cc8f46ad2bc2014ed2d3074b.tar.gz barebox-be0e8312e82d1177cc8f46ad2bc2014ed2d3074b.tar.xz |
ARM: phyCORE-AM335x: Updated SPI NOR dts entries
Updated the SPI NOR flash entries. NOR flash got
detected but did not work.
- Updated muxing
- Fixed frequency
- Fixed CS
- Removed first compatible entry (the flashes used is changing frequently)
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/am335x-phytec-phycore.dts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore.dts index 5678138f66..16febd3a59 100644 --- a/arch/arm/dts/am335x-phytec-phycore.dts +++ b/arch/arm/dts/am335x-phytec-phycore.dts @@ -50,10 +50,10 @@ spi0_pins: pinmux_spi0_pins { pinctrl-single,pins = < - 0x150 (INPUT_EN | MUX_MODE0) - 0x154 (PULL_UP | INPUT_EN | MUX_MODE0) - 0x158 (INPUT_EN | MUX_MODE0) - 0x15c (PULL_UP | INPUT_EN | MUX_MODE0) + 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* spi0_clk.spi0_clk */ + 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* spi0_d0.spi0_d0 */ + 0x158 (PIN_INPUT_PULLUP | MUX_MODE0) /* spi0_d1.spi0_d1 */ + 0x15c (PIN_INPUT_PULLUP | MUX_MODE0) /* spi0_cs0.spi0_cs0 */ >; }; @@ -172,9 +172,9 @@ status = "okay"; flash: m25p80 { - compatible = "sst,sst25vf032b", "m25p80"; - spi-max-frequency = <15000000>; - reg = <1>; + compatible = "m25p80"; + spi-max-frequency = <48000000>; + reg = <0>; #address-cells = <1>; #size-cells = <1>; |