mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
The pinctrl bindings used by Linux are an incomplete description of the hardware. It is possible in most cases to determine the register address of each, but not in all cases. By adding an additional property we can fix this, and avoid adding a table to U-Boot for every single Exynos SOC. Signed-off-by: Simon Glass <sjg@chromium.org>
120 lines
2.5 KiB
Plaintext
120 lines
2.5 KiB
Plaintext
/*
|
|
* (C) Copyright 2012 SAMSUNG Electronics
|
|
* SAMSUNG EXYNOS5250 SoC device tree source
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include "exynos5.dtsi"
|
|
#include "exynos5250-pinctrl.dtsi"
|
|
#include "exynos5250-pinctrl-uboot.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
pinctrl0 = &pinctrl_0;
|
|
pinctrl1 = &pinctrl_1;
|
|
pinctrl2 = &pinctrl_2;
|
|
pinctrl3 = &pinctrl_3;
|
|
};
|
|
|
|
pinctrl_0: pinctrl@11400000 {
|
|
compatible = "samsung,exynos5250-pinctrl";
|
|
reg = <0x11400000 0x1000>;
|
|
interrupts = <0 46 0>;
|
|
|
|
wakup_eint: wakeup-interrupt-controller {
|
|
compatible = "samsung,exynos4210-wakeup-eint";
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 32 0>;
|
|
};
|
|
};
|
|
|
|
pinctrl_1: pinctrl@13400000 {
|
|
compatible = "samsung,exynos5250-pinctrl";
|
|
reg = <0x13400000 0x1000>;
|
|
interrupts = <0 45 0>;
|
|
};
|
|
|
|
pinctrl_2: pinctrl@10d10000 {
|
|
compatible = "samsung,exynos5250-pinctrl";
|
|
reg = <0x10d10000 0x1000>;
|
|
interrupts = <0 50 0>;
|
|
};
|
|
|
|
pinctrl_3: pinctrl@03860000 {
|
|
compatible = "samsung,exynos5250-pinctrl";
|
|
reg = <0x03860000 0x1000>;
|
|
interrupts = <0 47 0>;
|
|
};
|
|
|
|
i2c@12ca0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "samsung,s3c2440-i2c";
|
|
reg = <0x12CA0000 0x100>;
|
|
interrupts = <0 60 0>;
|
|
};
|
|
|
|
i2c@12cb0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "samsung,s3c2440-i2c";
|
|
reg = <0x12CB0000 0x100>;
|
|
interrupts = <0 61 0>;
|
|
};
|
|
|
|
i2c@12cc0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "samsung,s3c2440-i2c";
|
|
reg = <0x12CC0000 0x100>;
|
|
interrupts = <0 62 0>;
|
|
};
|
|
|
|
i2c@12cd0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "samsung,s3c2440-i2c";
|
|
reg = <0x12CD0000 0x100>;
|
|
interrupts = <0 63 0>;
|
|
};
|
|
|
|
sound@3830000 {
|
|
compatible = "samsung,exynos-sound";
|
|
reg = <0x3830000 0x50>;
|
|
samsung,i2s-epll-clock-frequency = <192000000>;
|
|
samsung,i2s-sampling-rate = <48000>;
|
|
samsung,i2s-bits-per-sample = <16>;
|
|
samsung,i2s-channels = <2>;
|
|
samsung,i2s-lr-clk-framesize = <256>;
|
|
samsung,i2s-bit-clk-framesize = <32>;
|
|
samsung,i2s-id = <0>;
|
|
};
|
|
|
|
sound@12d60000 {
|
|
compatible = "samsung,exynos-sound";
|
|
reg = <0x12d60000 0x20>;
|
|
samsung,i2s-epll-clock-frequency = <192000000>;
|
|
samsung,i2s-sampling-rate = <48000>;
|
|
samsung,i2s-bits-per-sample = <16>;
|
|
samsung,i2s-channels = <2>;
|
|
samsung,i2s-lr-clk-framesize = <256>;
|
|
samsung,i2s-bit-clk-framesize = <32>;
|
|
samsung,i2s-id = <1>;
|
|
};
|
|
|
|
|
|
xhci@12000000 {
|
|
compatible = "samsung,exynos5250-xhci";
|
|
reg = <0x12000000 0x10000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
phy {
|
|
compatible = "samsung,exynos5250-usb3-phy";
|
|
reg = <0x12100000 0x100>;
|
|
};
|
|
};
|
|
|
|
};
|