mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC late updates from Arnd Bergmann:
"This is some material that we picked up into our tree late or that had
complex inter-depondencies. The fact that there are these
interdependencies tends to meant that these are often actually the
most interesting new additions:
- The new Aspeed AST2600 baseboard management controller is added,
this is a Cortex-A7 based follow-up to the ARM11 based AST2500 and
had some dependencies on other device drivers.
- After many years, support for the MMP2 based OLPC XO-1.75 finally
makes it into the kernel.
- The Armada 3720 based Turris Mox open source router platform is a
late addition and it follows some preparatory work across multiple
branches.
- The OMAP2+ platform had some large-scale cleanup involving driver
changes and DT changes, here we finish it off, dropping a lot of
the now-unused platform data.
- The TI K3 platform that got added for 5.3 gains a lot more support
for individual bits on the SoC, this part just came late for the
merge window"
[ This pull request itself wasn't actually sent late at all by Arnd, but
I waited on the branches that it used to be pulled first, so it ends
up being merged much later than the other ARM SoC pull requests this
merge window - Linus ]
* tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (57 commits)
ARM: dts: dir685: Drop spi-cpol from the display
ARM: dts: aspeed: Add AST2600 pinmux nodes
ARM: dts: aspeed: Add AST2600 and EVB
ARM: exynos: Enable support for ARM architected timers
ARM: samsung: Fix system restart on S3C6410
ARM: dts: mmp2: add OLPC XO 1.75 machine
ARM: dts: mmp2: rename the USB PHY node
ARM: dts: mmp2: specify reg-shift for the UARTs
ARM: dts: mmp2: add camera interfaces
ARM: dts: mmp2: fix the SPI nodes
ARM: dts: mmp2: trivial whitespace fix
arm64: dts: marvell: add DTS for Turris Mox
dt-bindings: marvell: document Turris Mox compatible
arm64: dts: marvell: armada-37xx: add SPI CS1 pinctrl
arm64: dts: ti: k3-j721e-main: Fix gic-its node unit-address
arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
arm64: dts: ti: k3-j721e-main: Add hwspinlock node
arm64: dts: ti: k3-am65-main: Add hwspinlock node
arm64: dts: k3-j721e: Add gpio-keys on common processor board
dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E
...
This commit is contained in:
@@ -48,3 +48,11 @@ avs: avs@11500 {
|
||||
compatible = "marvell,armada-3700-avs", "syscon";
|
||||
reg = <0x11500 0x40>;
|
||||
}
|
||||
|
||||
|
||||
CZ.NIC's Turris Mox SOHO router Device Tree Bindings
|
||||
----------------------------------------------------
|
||||
|
||||
Required root node property:
|
||||
|
||||
- compatible: must contain "cznic,turris-mox"
|
||||
|
||||
@@ -11867,6 +11867,7 @@ S: Maintained
|
||||
F: arch/arm/mach-omap2/
|
||||
F: arch/arm/plat-omap/
|
||||
F: arch/arm/configs/omap2plus_defconfig
|
||||
F: drivers/bus/ti-sysc.c
|
||||
F: drivers/i2c/busses/i2c-omap.c
|
||||
F: drivers/irqchip/irq-omap-intc.c
|
||||
F: drivers/mfd/*omap*.c
|
||||
@@ -11887,6 +11888,7 @@ F: drivers/regulator/tps65910-regulator.c
|
||||
F: drivers/regulator/twl-regulator.c
|
||||
F: drivers/regulator/twl6030-regulator.c
|
||||
F: include/linux/platform_data/i2c-omap.h
|
||||
F: include/linux/platform_data/ti-sysc.h
|
||||
|
||||
ONION OMEGA2+ BOARD
|
||||
M: Harvey Hunt <harveyhuntnexus@gmail.com>
|
||||
|
||||
@@ -336,7 +336,8 @@ dtb-$(CONFIG_MACH_MESON8) += \
|
||||
dtb-$(CONFIG_ARCH_MMP) += \
|
||||
pxa168-aspenite.dtb \
|
||||
pxa910-dkb.dtb \
|
||||
mmp2-brownstone.dtb
|
||||
mmp2-brownstone.dtb \
|
||||
mmp2-olpc-xo-1-75.dtb
|
||||
dtb-$(CONFIG_ARCH_MPS2) += \
|
||||
mps2-an385.dtb \
|
||||
mps2-an399.dtb
|
||||
@@ -1278,6 +1279,7 @@ dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb
|
||||
dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb
|
||||
dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-ast2500-evb.dtb \
|
||||
aspeed-ast2600-evb.dtb \
|
||||
aspeed-bmc-arm-centriq2400-rep.dtb \
|
||||
aspeed-bmc-arm-stardragon4800-rep2.dtb \
|
||||
aspeed-bmc-facebook-cmm.dtb \
|
||||
|
||||
@@ -673,7 +673,6 @@
|
||||
|
||||
target-module@100000 { /* 0x4a100000, ap 3 08.0 */
|
||||
compatible = "ti,sysc-omap4-simple", "ti,sysc";
|
||||
ti,hwmods = "cpgmac0";
|
||||
reg = <0x101200 0x4>,
|
||||
<0x101208 0x4>,
|
||||
<0x101204 0x4>;
|
||||
@@ -719,9 +718,10 @@
|
||||
|
||||
davinci_mdio: mdio@1000 {
|
||||
compatible = "ti,cpsw-mdio","ti,davinci_mdio";
|
||||
clocks = <&cpsw_125mhz_clkctrl AM3_CPSW_125MHZ_CPGMAC0_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
ti,hwmods = "davinci_mdio";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x1000 0x100>;
|
||||
status = "disabled";
|
||||
|
||||
@@ -88,6 +88,30 @@
|
||||
interrupts = <24>;
|
||||
clocks = <&hecc_ck>;
|
||||
};
|
||||
|
||||
/*
|
||||
* On am3517 the OCP registers do not seem to be accessible
|
||||
* similar to the omap34xx. Maybe SGX is permanently set to
|
||||
* "OCP bypass mode", or maybe there is OCP_SYSCONFIG that is
|
||||
* write-only at 0x50000e10. We detect SGX based on the SGX
|
||||
* revision register instead of the unreadable OCP revision
|
||||
* register.
|
||||
*/
|
||||
sgx_module: target-module@50000000 {
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x50000014 0x4>;
|
||||
reg-names = "rev";
|
||||
clocks = <&sgx_fck>, <&sgx_ick>;
|
||||
clock-names = "fck", "ick";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x50000000 0x4000>;
|
||||
|
||||
/*
|
||||
* Closed source PowerVR driver, no child device
|
||||
* binding or driver in mainline
|
||||
*/
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -512,7 +512,6 @@
|
||||
|
||||
target-module@100000 { /* 0x4a100000, ap 3 04.0 */
|
||||
compatible = "ti,sysc-omap4-simple", "ti,sysc";
|
||||
ti,hwmods = "cpgmac0";
|
||||
reg = <0x101200 0x4>,
|
||||
<0x101208 0x4>,
|
||||
<0x101204 0x4>;
|
||||
@@ -559,11 +558,10 @@
|
||||
davinci_mdio: mdio@1000 {
|
||||
compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio";
|
||||
reg = <0x1000 0x100>;
|
||||
clocks = <&cpsw_125mhz_clkctrl AM4_CPSW_125MHZ_CPGMAC0_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&cpsw_125mhz_gclk>;
|
||||
clock-names = "fck";
|
||||
ti,hwmods = "davinci_mdio";
|
||||
bus_freq = <1000000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
80
arch/arm/boot/dts/aspeed-ast2600-evb.dts
Normal file
80
arch/arm/boot/dts/aspeed-ast2600-evb.dts
Normal file
@@ -0,0 +1,80 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2019 IBM Corp.
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g6.dtsi"
|
||||
|
||||
/ {
|
||||
model = "AST2600 EVB";
|
||||
compatible = "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS4,115200n8";
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x80000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&mdio1 {
|
||||
status = "okay";
|
||||
|
||||
ethphy1: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mdio2 {
|
||||
status = "okay";
|
||||
|
||||
ethphy2: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mdio3 {
|
||||
status = "okay";
|
||||
|
||||
ethphy3: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mac1 {
|
||||
status = "okay";
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <ðphy1>;
|
||||
};
|
||||
|
||||
&mac2 {
|
||||
status = "okay";
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <ðphy2>;
|
||||
};
|
||||
|
||||
&mac3 {
|
||||
status = "okay";
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <ðphy3>;
|
||||
};
|
||||
|
||||
&emmc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
1154
arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi
Normal file
1154
arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
261
arch/arm/boot/dts/aspeed-g6.dtsi
Normal file
261
arch/arm/boot/dts/aspeed-g6.dtsi
Normal file
@@ -0,0 +1,261 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2019 IBM Corp.
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/ast2600-clock.h>
|
||||
|
||||
/ {
|
||||
model = "Aspeed BMC";
|
||||
compatible = "aspeed,ast2600";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
interrupt-parent = <&gic>;
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
};
|
||||
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "aspeed,ast2600-smp";
|
||||
|
||||
cpu@f00 {
|
||||
compatible = "arm,cortex-a7";
|
||||
device_type = "cpu";
|
||||
reg = <0xf00>;
|
||||
};
|
||||
|
||||
cpu@f01 {
|
||||
compatible = "arm,cortex-a7";
|
||||
device_type = "cpu";
|
||||
reg = <0xf01>;
|
||||
};
|
||||
};
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv7-timer";
|
||||
interrupt-parent = <&gic>;
|
||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
|
||||
clocks = <&syscon ASPEED_CLK_HPLL>;
|
||||
arm,cpu-registers-not-fw-configured;
|
||||
};
|
||||
|
||||
ahb {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
device_type = "soc";
|
||||
ranges;
|
||||
|
||||
gic: interrupt-controller@40461000 {
|
||||
compatible = "arm,cortex-a7-gic";
|
||||
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
|
||||
#interrupt-cells = <3>;
|
||||
interrupt-controller;
|
||||
interrupt-parent = <&gic>;
|
||||
reg = <0x40461000 0x1000>,
|
||||
<0x40462000 0x1000>,
|
||||
<0x40464000 0x2000>,
|
||||
<0x40466000 0x2000>;
|
||||
};
|
||||
|
||||
mdio0: mdio@1e650000 {
|
||||
compatible = "aspeed,ast2600-mdio";
|
||||
reg = <0x1e650000 0x8>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mdio1: mdio@1e650008 {
|
||||
compatible = "aspeed,ast2600-mdio";
|
||||
reg = <0x1e650008 0x8>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mdio2: mdio@1e650010 {
|
||||
compatible = "aspeed,ast2600-mdio";
|
||||
reg = <0x1e650010 0x8>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mdio3: mdio@1e650018 {
|
||||
compatible = "aspeed,ast2600-mdio";
|
||||
reg = <0x1e650018 0x8>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mac0: ftgmac@1e660000 {
|
||||
compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
|
||||
reg = <0x1e660000 0x180>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mac1: ftgmac@1e680000 {
|
||||
compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
|
||||
reg = <0x1e680000 0x180>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mac2: ftgmac@1e670000 {
|
||||
compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
|
||||
reg = <0x1e670000 0x180>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mac3: ftgmac@1e690000 {
|
||||
compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
|
||||
reg = <0x1e690000 0x180>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
apb {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
syscon: syscon@1e6e2000 {
|
||||
compatible = "aspeed,ast2600-scu", "syscon", "simple-mfd";
|
||||
reg = <0x1e6e2000 0x1000>;
|
||||
ranges = <0 0x1e6e2000 0x1000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#clock-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "aspeed,ast2600-pinctrl";
|
||||
};
|
||||
|
||||
smp-memram@180 {
|
||||
compatible = "aspeed,ast2600-smpmem";
|
||||
reg = <0x180 0x40>;
|
||||
};
|
||||
};
|
||||
|
||||
rng: hwrng@1e6e2524 {
|
||||
compatible = "timeriomem_rng";
|
||||
reg = <0x1e6e2524 0x4>;
|
||||
period = <1>;
|
||||
quality = <100>;
|
||||
};
|
||||
|
||||
rtc: rtc@1e781000 {
|
||||
compatible = "aspeed,ast2600-rtc";
|
||||
reg = <0x1e781000 0x18>;
|
||||
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart5: serial@1e784000 {
|
||||
compatible = "ns16550a";
|
||||
reg = <0x1e784000 0x1000>;
|
||||
reg-shift = <2>;
|
||||
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_UART5CLK>;
|
||||
no-loopback-test;
|
||||
};
|
||||
|
||||
wdt1: watchdog@1e785000 {
|
||||
compatible = "aspeed,ast2600-wdt";
|
||||
reg = <0x1e785000 0x40>;
|
||||
};
|
||||
|
||||
wdt2: watchdog@1e785040 {
|
||||
compatible = "aspeed,ast2600-wdt";
|
||||
reg = <0x1e785040 0x40>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
wdt3: watchdog@1e785080 {
|
||||
compatible = "aspeed,ast2600-wdt";
|
||||
reg = <0x1e785080 0x40>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
wdt4: watchdog@1e7850C0 {
|
||||
compatible = "aspeed,ast2600-wdt";
|
||||
reg = <0x1e7850C0 0x40>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sdc: sdc@1e740000 {
|
||||
compatible = "aspeed,ast2600-sd-controller";
|
||||
reg = <0x1e740000 0x100>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x1e740000 0x10000>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
|
||||
status = "disabled";
|
||||
|
||||
sdhci0: sdhci@1e740100 {
|
||||
compatible = "aspeed,ast2600-sdhci", "sdhci";
|
||||
reg = <0x100 0x100>;
|
||||
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
|
||||
sdhci,auto-cmd12;
|
||||
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sdhci1: sdhci@1e740200 {
|
||||
compatible = "aspeed,ast2600-sdhci", "sdhci";
|
||||
reg = <0x200 0x100>;
|
||||
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
|
||||
sdhci,auto-cmd12;
|
||||
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
emmc: sdc@1e750000 {
|
||||
compatible = "aspeed,ast2600-sd-controller";
|
||||
reg = <0x1e750000 0x100>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x1e750000 0x10000>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>;
|
||||
status = "disabled";
|
||||
|
||||
sdhci@1e750100 {
|
||||
compatible = "aspeed,ast2600-sdhci";
|
||||
reg = <0x100 0x100>;
|
||||
sdhci,auto-cmd12;
|
||||
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_EMMC>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_emmc_default>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#include "aspeed-g6-pinctrl.dtsi"
|
||||
@@ -1118,7 +1118,6 @@
|
||||
|
||||
target-module@20000 { /* 0x48020000, ap 3 04.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart3";
|
||||
reg = <0x20050 0x4>,
|
||||
<0x20054 0x4>,
|
||||
<0x20058 0x4>;
|
||||
@@ -1263,7 +1262,6 @@
|
||||
|
||||
gpio7_target: target-module@51000 { /* 0x48051000, ap 45 2e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio7";
|
||||
reg = <0x51000 0x4>,
|
||||
<0x51010 0x4>,
|
||||
<0x51114 0x4>;
|
||||
@@ -1297,7 +1295,6 @@
|
||||
|
||||
target-module@53000 { /* 0x48053000, ap 35 36.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio8";
|
||||
reg = <0x53000 0x4>,
|
||||
<0x53010 0x4>,
|
||||
<0x53114 0x4>;
|
||||
@@ -1331,7 +1328,6 @@
|
||||
|
||||
target-module@55000 { /* 0x48055000, ap 13 0e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio2";
|
||||
reg = <0x55000 0x4>,
|
||||
<0x55010 0x4>,
|
||||
<0x55114 0x4>;
|
||||
@@ -1365,7 +1361,6 @@
|
||||
|
||||
target-module@57000 { /* 0x48057000, ap 15 06.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio3";
|
||||
reg = <0x57000 0x4>,
|
||||
<0x57010 0x4>,
|
||||
<0x57114 0x4>;
|
||||
@@ -1399,7 +1394,6 @@
|
||||
|
||||
target-module@59000 { /* 0x48059000, ap 17 16.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio4";
|
||||
reg = <0x59000 0x4>,
|
||||
<0x59010 0x4>,
|
||||
<0x59114 0x4>;
|
||||
@@ -1433,7 +1427,6 @@
|
||||
|
||||
target-module@5b000 { /* 0x4805b000, ap 19 1e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio5";
|
||||
reg = <0x5b000 0x4>,
|
||||
<0x5b010 0x4>,
|
||||
<0x5b114 0x4>;
|
||||
@@ -1467,7 +1460,6 @@
|
||||
|
||||
target-module@5d000 { /* 0x4805d000, ap 21 26.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio6";
|
||||
reg = <0x5d000 0x4>,
|
||||
<0x5d010 0x4>,
|
||||
<0x5d114 0x4>;
|
||||
@@ -1501,7 +1493,6 @@
|
||||
|
||||
target-module@60000 { /* 0x48060000, ap 23 32.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c3";
|
||||
reg = <0x60000 0x8>,
|
||||
<0x60010 0x8>,
|
||||
<0x60090 0x8>;
|
||||
@@ -1534,7 +1525,6 @@
|
||||
|
||||
target-module@66000 { /* 0x48066000, ap 63 14.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart5";
|
||||
reg = <0x66050 0x4>,
|
||||
<0x66054 0x4>,
|
||||
<0x66058 0x4>;
|
||||
@@ -1567,7 +1557,6 @@
|
||||
|
||||
target-module@68000 { /* 0x48068000, ap 53 1c.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart6";
|
||||
reg = <0x68050 0x4>,
|
||||
<0x68054 0x4>,
|
||||
<0x68058 0x4>;
|
||||
@@ -1600,7 +1589,6 @@
|
||||
|
||||
target-module@6a000 { /* 0x4806a000, ap 24 24.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart1";
|
||||
reg = <0x6a050 0x4>,
|
||||
<0x6a054 0x4>,
|
||||
<0x6a058 0x4>;
|
||||
@@ -1633,7 +1621,6 @@
|
||||
|
||||
target-module@6c000 { /* 0x4806c000, ap 26 2c.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart2";
|
||||
reg = <0x6c050 0x4>,
|
||||
<0x6c054 0x4>,
|
||||
<0x6c058 0x4>;
|
||||
@@ -1666,7 +1653,6 @@
|
||||
|
||||
target-module@6e000 { /* 0x4806e000, ap 28 0c.1 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart4";
|
||||
reg = <0x6e050 0x4>,
|
||||
<0x6e054 0x4>,
|
||||
<0x6e058 0x4>;
|
||||
@@ -1699,7 +1685,6 @@
|
||||
|
||||
target-module@70000 { /* 0x48070000, ap 30 22.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c1";
|
||||
reg = <0x70000 0x8>,
|
||||
<0x70010 0x8>,
|
||||
<0x70090 0x8>;
|
||||
@@ -1732,7 +1717,6 @@
|
||||
|
||||
target-module@72000 { /* 0x48072000, ap 32 2a.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c2";
|
||||
reg = <0x72000 0x8>,
|
||||
<0x72010 0x8>,
|
||||
<0x72090 0x8>;
|
||||
@@ -1795,7 +1779,6 @@
|
||||
|
||||
target-module@7a000 { /* 0x4807a000, ap 81 3a.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c4";
|
||||
reg = <0x7a000 0x8>,
|
||||
<0x7a010 0x8>,
|
||||
<0x7a090 0x8>;
|
||||
@@ -1828,7 +1811,6 @@
|
||||
|
||||
target-module@7c000 { /* 0x4807c000, ap 83 4a.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c5";
|
||||
reg = <0x7c000 0x8>,
|
||||
<0x7c010 0x8>,
|
||||
<0x7c090 0x8>;
|
||||
@@ -1942,7 +1924,6 @@
|
||||
|
||||
target-module@98000 { /* 0x48098000, ap 47 08.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mcspi1";
|
||||
reg = <0x98000 0x4>,
|
||||
<0x98010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -1982,7 +1963,6 @@
|
||||
|
||||
target-module@9a000 { /* 0x4809a000, ap 49 10.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mcspi2";
|
||||
reg = <0x9a000 0x4>,
|
||||
<0x9a010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2017,7 +1997,6 @@
|
||||
|
||||
target-module@9c000 { /* 0x4809c000, ap 51 38.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mmc1";
|
||||
reg = <0x9c000 0x4>,
|
||||
<0x9c010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2077,7 +2056,6 @@
|
||||
|
||||
target-module@ad000 { /* 0x480ad000, ap 61 20.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mmc3";
|
||||
reg = <0xad000 0x4>,
|
||||
<0xad010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2137,7 +2115,6 @@
|
||||
|
||||
target-module@b4000 { /* 0x480b4000, ap 65 40.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mmc2";
|
||||
reg = <0xb4000 0x4>,
|
||||
<0xb4010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2174,7 +2151,6 @@
|
||||
|
||||
target-module@b8000 { /* 0x480b8000, ap 67 48.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mcspi3";
|
||||
reg = <0xb8000 0x4>,
|
||||
<0xb8010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2206,7 +2182,6 @@
|
||||
|
||||
target-module@ba000 { /* 0x480ba000, ap 69 18.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mcspi4";
|
||||
reg = <0xba000 0x4>,
|
||||
<0xba010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2238,7 +2213,6 @@
|
||||
|
||||
target-module@d1000 { /* 0x480d1000, ap 71 28.0 */
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "mmc4";
|
||||
reg = <0xd1000 0x4>,
|
||||
<0xd1010 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2384,7 +2358,6 @@
|
||||
|
||||
target-module@20000 { /* 0x48420000, ap 47 02.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart7";
|
||||
reg = <0x20050 0x4>,
|
||||
<0x20054 0x4>,
|
||||
<0x20058 0x4>;
|
||||
@@ -2415,7 +2388,6 @@
|
||||
|
||||
target-module@22000 { /* 0x48422000, ap 49 0a.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart8";
|
||||
reg = <0x22050 0x4>,
|
||||
<0x22054 0x4>,
|
||||
<0x22058 0x4>;
|
||||
@@ -2446,7 +2418,6 @@
|
||||
|
||||
target-module@24000 { /* 0x48424000, ap 51 12.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart9";
|
||||
reg = <0x24050 0x4>,
|
||||
<0x24054 0x4>,
|
||||
<0x24058 0x4>;
|
||||
@@ -2735,7 +2706,6 @@
|
||||
|
||||
target-module@60000 { /* 0x48460000, ap 9 0e.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp1";
|
||||
reg = <0x60000 0x4>,
|
||||
<0x60004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2772,7 +2742,6 @@
|
||||
|
||||
target-module@64000 { /* 0x48464000, ap 11 1e.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp2";
|
||||
reg = <0x64000 0x4>,
|
||||
<0x64004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2809,7 +2778,6 @@
|
||||
|
||||
target-module@68000 { /* 0x48468000, ap 13 26.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp3";
|
||||
reg = <0x68000 0x4>,
|
||||
<0x68004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2845,7 +2813,6 @@
|
||||
|
||||
target-module@6c000 { /* 0x4846c000, ap 15 2e.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp4";
|
||||
reg = <0x6c000 0x4>,
|
||||
<0x6c004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2881,7 +2848,6 @@
|
||||
|
||||
target-module@70000 { /* 0x48470000, ap 19 36.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp5";
|
||||
reg = <0x70000 0x4>,
|
||||
<0x70004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2917,7 +2883,6 @@
|
||||
|
||||
target-module@74000 { /* 0x48474000, ap 35 14.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp6";
|
||||
reg = <0x74000 0x4>,
|
||||
<0x74004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2953,7 +2918,6 @@
|
||||
|
||||
target-module@78000 { /* 0x48478000, ap 39 0c.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp7";
|
||||
reg = <0x78000 0x4>,
|
||||
<0x78004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -2989,7 +2953,6 @@
|
||||
|
||||
target-module@7c000 { /* 0x4847c000, ap 43 04.0 */
|
||||
compatible = "ti,sysc-dra7-mcasp", "ti,sysc";
|
||||
ti,hwmods = "mcasp8";
|
||||
reg = <0x7c000 0x4>,
|
||||
<0x7c004 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
@@ -3045,7 +3008,6 @@
|
||||
|
||||
target-module@84000 { /* 0x48484000, ap 3 10.0 */
|
||||
compatible = "ti,sysc-omap4-simple", "ti,sysc";
|
||||
ti,hwmods = "gmac";
|
||||
reg = <0x85200 0x4>,
|
||||
<0x85208 0x4>,
|
||||
<0x85204 0x4>;
|
||||
@@ -3103,9 +3065,10 @@
|
||||
|
||||
davinci_mdio: mdio@1000 {
|
||||
compatible = "ti,cpsw-mdio","ti,davinci_mdio";
|
||||
clocks = <&gmac_clkctrl DRA7_GMAC_GMAC_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
ti,hwmods = "davinci_mdio";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x1000 0x100>;
|
||||
};
|
||||
@@ -4311,7 +4274,6 @@
|
||||
|
||||
target-module@0 { /* 0x4ae10000, ap 5 20.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio1";
|
||||
reg = <0x0 0x4>,
|
||||
<0x10 0x4>,
|
||||
<0x114 0x4>;
|
||||
@@ -4479,7 +4441,6 @@
|
||||
|
||||
target-module@b000 { /* 0x4ae2b000, ap 28 02.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "uart10";
|
||||
reg = <0xb050 0x4>,
|
||||
<0xb054 0x4>,
|
||||
<0xb058 0x4>;
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
reg = <0>;
|
||||
/* 50 ns min period = 20 MHz */
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-cpol; /* Clock active low */
|
||||
vcc-supply = <&vdisp>;
|
||||
iovcc-supply = <&vdisp>;
|
||||
vci-supply = <&vdisp>;
|
||||
|
||||
244
arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
Normal file
244
arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
Normal file
@@ -0,0 +1,244 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/*
|
||||
* OLPC XO 1.75 Laptop.
|
||||
*
|
||||
* Copyright (C) 2018,2019 Lubomir Rintel <lkundrak@v3.sk>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include "mmp2.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/linux-event-codes.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/ {
|
||||
model = "OLPC XO-1.75";
|
||||
compatible = "olpc,xo-1.75", "mrvl,mmp2";
|
||||
|
||||
chosen {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
framebuffer@1fc00000 {
|
||||
compatible = "simple-framebuffer";
|
||||
reg = <0x1fc00000 (1200 * 900 * 2)>;
|
||||
width = <1200>;
|
||||
height = <900>;
|
||||
stride = <(1200 * 2)>;
|
||||
format = "r5g6b5";
|
||||
clocks = <&soc_clocks MMP2_CLK_DISP0_LCDC>,
|
||||
<&soc_clocks MMP2_CLK_DISP0>;
|
||||
};
|
||||
};
|
||||
|
||||
memory {
|
||||
linux,usable-memory = <0x0 0x1f800000>;
|
||||
available = <0xcf000 0x1ef31000 0x1000 0xbf000>;
|
||||
reg = <0x0 0x20000000>;
|
||||
device_type = "memory";
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
lid {
|
||||
label = "Lid";
|
||||
gpios = <&gpio 129 GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_LID>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
tablet_mode {
|
||||
label = "E-Book Mode";
|
||||
gpios = <&gpio 128 GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_TABLET_MODE>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
microphone_insert {
|
||||
label = "Microphone Plug";
|
||||
gpios = <&gpio 96 GPIO_ACTIVE_HIGH>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_MICROPHONE_INSERT>;
|
||||
debounce-interval = <100>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
headphone_insert {
|
||||
label = "Headphone Plug";
|
||||
gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_HEADPHONE_INSERT>;
|
||||
debounce-interval = <100>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
||||
camera_i2c {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&gpio 109 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>,
|
||||
<&gpio 108 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
i2c-gpio,timeout-ms = <1000>;
|
||||
status = "okay";
|
||||
|
||||
camera@21 {
|
||||
compatible = "ovti,ov7670";
|
||||
reg = <0x21>;
|
||||
reset-gpios = <&gpio 102 GPIO_ACTIVE_LOW>;
|
||||
powerdown-gpios = <&gpio 150 GPIO_ACTIVE_LOW>;
|
||||
clocks = <&camera0>;
|
||||
clock-names = "xclk";
|
||||
|
||||
port {
|
||||
ov7670_0: endpoint {
|
||||
hsync-active = <1>;
|
||||
vsync-active = <1>;
|
||||
remote-endpoint = <&camera0_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
battery {
|
||||
compatible = "olpc,xo1.5-battery", "olpc,xo1-battery";
|
||||
};
|
||||
|
||||
wlan_reg: fixedregulator0 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "wlan";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
gpio = <&gpio 34 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
wlan_pwrseq: pwrseq0 {
|
||||
compatible = "mmc-pwrseq-sd8787";
|
||||
powerdown-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
soc {
|
||||
axi@d4200000 {
|
||||
ap-sp@d4290000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "olpc,ap-sp";
|
||||
interrupts = <40>;
|
||||
reg = <0xd4290000 0x1000>;
|
||||
data-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>;
|
||||
clk-gpios = <&gpio 71 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_phy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_otg0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmc1 {
|
||||
clock-frequency = <50000000>;
|
||||
no-1-8-v;
|
||||
mrvl,clk-delay-cycles = <31>;
|
||||
broken-cd;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
clock-frequency = <50000000>;
|
||||
no-1-8-v;
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
broken-cd;
|
||||
wakeup-source;
|
||||
keep-power-in-suspend;
|
||||
mmc-pwrseq = <&wlan_pwrseq>;
|
||||
vmmc-supply = <&wlan_reg>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmc3 {
|
||||
clock-frequency = <50000000>;
|
||||
no-1-8-v;
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
broken-cd;
|
||||
mrvl,clk-delay-cycles = <31>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&twsi1 {
|
||||
status = "okay";
|
||||
|
||||
audio-codec@1a {
|
||||
compatible = "realtek,alc5631";
|
||||
reg = <0x1a>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&twsi2 {
|
||||
status = "okay";
|
||||
|
||||
rtc@68 {
|
||||
compatible = "dallas,ds1338";
|
||||
reg = <0x68>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&twsi6 {
|
||||
status = "okay";
|
||||
|
||||
accelerometer@1d {
|
||||
compatible = "st,lis331dlh", "st,lis3lv02d";
|
||||
reg = <0x1d>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&ssp3 {
|
||||
#address-cells = <0>;
|
||||
spi-slave;
|
||||
status = "okay";
|
||||
ready-gpio = <&gpio 125 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
slave {
|
||||
compatible = "olpc,xo1.75-ec";
|
||||
spi-cpha;
|
||||
cmd-gpio = <&gpio 155 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
&camera0 {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
camera0_0: endpoint {
|
||||
remote-endpoint = <&ov7670_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -117,7 +117,7 @@
|
||||
mrvl,intc-nr-irqs = <2>;
|
||||
};
|
||||
|
||||
usb_otg_phy0: usb-otg-phy@d4207000 {
|
||||
usb_phy0: usb-phy@d4207000 {
|
||||
compatible = "marvell,mmp2-usb-phy";
|
||||
reg = <0xd4207000 0x40>;
|
||||
#phy-cells = <0>;
|
||||
@@ -130,7 +130,7 @@
|
||||
interrupts = <44>;
|
||||
clocks = <&soc_clocks MMP2_CLK_USB>;
|
||||
clock-names = "USBCLK";
|
||||
phys = <&usb_otg_phy0>;
|
||||
phys = <&usb_phy0>;
|
||||
phy-names = "usb";
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -170,6 +170,28 @@
|
||||
interrupts = <54>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
camera0: camera@d420a000 {
|
||||
compatible = "marvell,mmp2-ccic";
|
||||
reg = <0xd420a000 0x800>;
|
||||
interrupts = <42>;
|
||||
clocks = <&soc_clocks MMP2_CLK_CCIC0>;
|
||||
clock-names = "axi";
|
||||
#clock-cells = <0>;
|
||||
clock-output-names = "mclk";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
camera1: camera@d420a800 {
|
||||
compatible = "marvell,mmp2-ccic";
|
||||
reg = <0xd420a800 0x800>;
|
||||
interrupts = <30>;
|
||||
clocks = <&soc_clocks MMP2_CLK_CCIC1>;
|
||||
clock-names = "axi";
|
||||
#clock-cells = <0>;
|
||||
clock-output-names = "mclk";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
apb@d4000000 { /* APB */
|
||||
@@ -192,6 +214,7 @@
|
||||
interrupts = <27>;
|
||||
clocks = <&soc_clocks MMP2_CLK_UART0>;
|
||||
resets = <&soc_clocks MMP2_CLK_UART0>;
|
||||
reg-shift = <2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -201,6 +224,7 @@
|
||||
interrupts = <28>;
|
||||
clocks = <&soc_clocks MMP2_CLK_UART1>;
|
||||
resets = <&soc_clocks MMP2_CLK_UART1>;
|
||||
reg-shift = <2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -210,6 +234,7 @@
|
||||
interrupts = <24>;
|
||||
clocks = <&soc_clocks MMP2_CLK_UART2>;
|
||||
resets = <&soc_clocks MMP2_CLK_UART2>;
|
||||
reg-shift = <2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -219,6 +244,7 @@
|
||||
interrupts = <46>;
|
||||
clocks = <&soc_clocks MMP2_CLK_UART3>;
|
||||
resets = <&soc_clocks MMP2_CLK_UART3>;
|
||||
reg-shift = <2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -346,40 +372,48 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ssp1: ssp@d4035000 {
|
||||
ssp1: spi@d4035000 {
|
||||
compatible = "marvell,mmp2-ssp";
|
||||
reg = <0xd4035000 0x1000>;
|
||||
clocks = <&soc_clocks MMP2_CLK_SSP0>;
|
||||
interrupts = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ssp2: ssp@d4036000 {
|
||||
ssp2: spi@d4036000 {
|
||||
compatible = "marvell,mmp2-ssp";
|
||||
reg = <0xd4036000 0x1000>;
|
||||
clocks = <&soc_clocks MMP2_CLK_SSP1>;
|
||||
interrupts = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ssp3: ssp@d4037000 {
|
||||
ssp3: spi@d4037000 {
|
||||
compatible = "marvell,mmp2-ssp";
|
||||
reg = <0xd4037000 0x1000>;
|
||||
clocks = <&soc_clocks MMP2_CLK_SSP2>;
|
||||
interrupts = <20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ssp4: ssp@d4039000 {
|
||||
ssp4: spi@d4039000 {
|
||||
compatible = "marvell,mmp2-ssp";
|
||||
reg = <0xd4039000 0x1000>;
|
||||
clocks = <&soc_clocks MMP2_CLK_SSP3>;
|
||||
interrupts = <21>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
soc_clocks: clocks{
|
||||
soc_clocks: clocks {
|
||||
compatible = "marvell,mmp2-clock";
|
||||
reg = <0xd4050000 0x1000>,
|
||||
<0xd4282800 0x400>,
|
||||
|
||||
@@ -100,6 +100,32 @@
|
||||
interrupts = <18>;
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* On omap34xx the OCP registers do not seem to be accessible
|
||||
* at all unlike on 36xx. Maybe SGX is permanently set to
|
||||
* "OCP bypass mode", or maybe there is OCP_SYSCONFIG that is
|
||||
* write-only at 0x50000e10. We detect SGX based on the SGX
|
||||
* revision register instead of the unreadable OCP revision
|
||||
* register. Also note that on early 34xx es1 revision there
|
||||
* are also different clocks, but we do not have any dts users
|
||||
* for it.
|
||||
*/
|
||||
sgx_module: target-module@50000000 {
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x50000014 0x4>;
|
||||
reg-names = "rev";
|
||||
clocks = <&sgx_fck>, <&sgx_ick>;
|
||||
clock-names = "fck", "ick";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x50000000 0x4000>;
|
||||
|
||||
/*
|
||||
* Closed source PowerVR driver, no child device
|
||||
* binding or driver in mainline
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
|
||||
@@ -139,6 +139,34 @@
|
||||
interrupts = <18>;
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* Note that the sysconfig register layout is a subset of the
|
||||
* "ti,sysc-omap4" type register with just sidle and midle bits
|
||||
* available while omap34xx has "ti,sysc-omap2" type sysconfig.
|
||||
*/
|
||||
sgx_module: target-module@50000000 {
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
reg = <0x5000fe00 0x4>,
|
||||
<0x5000fe10 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
ti,sysc-midle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>;
|
||||
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>;
|
||||
clocks = <&sgx_fck>, <&sgx_ick>;
|
||||
clock-names = "fck", "ick";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x50000000 0x2000000>;
|
||||
|
||||
/*
|
||||
* Closed source PowerVR driver, no child device
|
||||
* binding or driver in mainline
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
|
||||
@@ -255,7 +255,6 @@
|
||||
|
||||
target-module@30000 { /* 0x40130000, ap 14 0e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "wd_timer3";
|
||||
reg = <0x30000 0x4>,
|
||||
<0x30010 0x4>,
|
||||
<0x30014 0x4>;
|
||||
|
||||
@@ -456,17 +456,43 @@
|
||||
};
|
||||
};
|
||||
|
||||
/* d2d mdm */
|
||||
target-module@36000 { /* 0x4a0b6000, ap 69 60.0 */
|
||||
compatible = "ti,sysc";
|
||||
status = "disabled";
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x36000 0x4>,
|
||||
<0x36010 0x4>,
|
||||
<0x36014 0x4>;
|
||||
reg-names = "rev", "sysc", "syss";
|
||||
ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | SYSC_OMAP2_AUTOIDLE)>;
|
||||
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>,
|
||||
<SYSC_IDLE_SMART_WKUP>;
|
||||
ti,syss-mask = <1>;
|
||||
/* Domains (V, P, C): core, core_pwrdm, d2d_clkdm */
|
||||
clocks = <&d2d_clkctrl OMAP4_C2C_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0x0 0x36000 0x1000>;
|
||||
};
|
||||
|
||||
/* d2d mpu */
|
||||
target-module@4d000 { /* 0x4a0cd000, ap 78 58.0 */
|
||||
compatible = "ti,sysc";
|
||||
status = "disabled";
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x4d000 0x4>,
|
||||
<0x4d010 0x4>,
|
||||
<0x4d014 0x4>;
|
||||
reg-names = "rev", "sysc", "syss";
|
||||
ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | SYSC_OMAP2_AUTOIDLE)>;
|
||||
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>,
|
||||
<SYSC_IDLE_SMART_WKUP>;
|
||||
ti,syss-mask = <1>;
|
||||
/* Domains (V, P, C): core, core_pwrdm, d2d_clkdm */
|
||||
clocks = <&d2d_clkctrl OMAP4_C2C_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0x0 0x4d000 0x1000>;
|
||||
@@ -1094,7 +1120,6 @@
|
||||
|
||||
target-module@4000 { /* 0x4a314000, ap 7 18.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "wd_timer2";
|
||||
reg = <0x4000 0x4>,
|
||||
<0x4010 0x4>,
|
||||
<0x4014 0x4>;
|
||||
@@ -1695,7 +1720,6 @@
|
||||
|
||||
target-module@60000 { /* 0x48060000, ap 25 1e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c3";
|
||||
reg = <0x60000 0x8>,
|
||||
<0x60010 0x8>,
|
||||
<0x60090 0x8>;
|
||||
@@ -1814,7 +1838,6 @@
|
||||
|
||||
target-module@70000 { /* 0x48070000, ap 32 28.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c1";
|
||||
reg = <0x70000 0x8>,
|
||||
<0x70010 0x8>,
|
||||
<0x70090 0x8>;
|
||||
@@ -1846,7 +1869,6 @@
|
||||
|
||||
target-module@72000 { /* 0x48072000, ap 34 30.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c2";
|
||||
reg = <0x72000 0x8>,
|
||||
<0x72010 0x8>,
|
||||
<0x72090 0x8>;
|
||||
@@ -2401,7 +2423,6 @@
|
||||
|
||||
target-module@150000 { /* 0x48350000, ap 77 4c.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "i2c4";
|
||||
reg = <0x150000 0x8>,
|
||||
<0x150010 0x8>,
|
||||
<0x150090 0x8>;
|
||||
|
||||
@@ -330,7 +330,6 @@
|
||||
|
||||
target-module@56000000 {
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
ti,hwmods = "gpu";
|
||||
reg = <0x5601fc00 0x4>,
|
||||
<0x5601fc10 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
|
||||
@@ -257,6 +257,29 @@
|
||||
ports-implemented = <0x1>;
|
||||
};
|
||||
|
||||
target-module@56000000 {
|
||||
compatible = "ti,sysc-omap4", "ti,sysc";
|
||||
reg = <0x5600fe00 0x4>,
|
||||
<0x5600fe10 0x4>;
|
||||
reg-names = "rev", "sysc";
|
||||
ti,sysc-midle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>;
|
||||
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
||||
<SYSC_IDLE_NO>,
|
||||
<SYSC_IDLE_SMART>;
|
||||
clocks = <&gpu_clkctrl OMAP5_GPU_CLKCTRL 0>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x56000000 0x2000000>;
|
||||
|
||||
/*
|
||||
* Closed source PowerVR driver, no child device
|
||||
* binding or driver in mainline
|
||||
*/
|
||||
};
|
||||
|
||||
dss: dss@58000000 {
|
||||
compatible = "ti,omap5-dss";
|
||||
reg = <0x58000000 0x80>;
|
||||
|
||||
@@ -1146,6 +1146,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpu_cm: clock-controller@1500 {
|
||||
compatible = "ti,omap4-cm";
|
||||
reg = <0x1500 0x100>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0x1500 0x100>;
|
||||
|
||||
gpu_clkctrl: clk@20 {
|
||||
compatible = "ti,clkctrl";
|
||||
reg = <0x20 0x4>;
|
||||
#clock-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
l3init_cm: l3init_cm@1600 {
|
||||
compatible = "ti,omap4-cm";
|
||||
reg = <0x1600 0x100>;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user