mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
arm64: Zynq DT changes for 6.15
- Align platforms with dt-schema - Describe QSPI -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZ9RCHgAKCRDKSWXLKUoM ITXYAJ49ZX2WRYgFprL6YP94qzcAJtG4JgCfWH3C0J4DzNwWagkogvh8c8EBhwg= =nLaL -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLToACgkQYKtH/8kJ UicHIBAAiqq7aekbUvj6W4NCBjUWyKf6TDHVZhXqcRzi1XF0cw0gpJ0cZ4Elk+Rs QjgB7YR2Eq6zAKh75o+D/pheuOqkqcB0JNLRgqh4M5wKAIq81el6QsRuJY76qx+l PRD25LVmJgDXioB5V53O2n0uFOc7wrtRZM+p9XtUdMsa48vqswvD26tRgrOZfmSa hWyV1nK/TmMNDfTSJjQ6GB1kLF4pLJeYMABqhN3PNRhY0pVfOhOOJt5MTJDZUfE9 KSsilZfst+qBzqtFnv/fAtX1SqCdNH8cMp2HtZ2tUhwhl7yobEI20YTxjTQUPa9v ifIwAbwJ5gzswdpd5G1M8/J12cErP7z7xLHnY1DFeZwhp8vW/hymyRAd4SXf7XNy yeCd2cxf6Z8u5G075rlvN7n4CYQpJ5/fubHNCz0T23ugykKpeauctVe0/JbL6qST peaIKW2ypuZjGxhjSSNQfFVUR9lIYg05Ke5gJk98NrMVwzP7ABKsKjQEcEbHoEME EMpLk6TpUB2a8J1uFDVS52bTodan0Qgd8FDi7afRi0zoxymj+B1J9yYcuiIAsOse FqwaIRzvV0dIHRM78Qe7YyQJajK3EEyEk6H4c+9Sbkv0Gd+tNWE/LSVvqHfTuGK+ R7TQvJOZVzm13mYO5xaz5cwPdTT5Il02yWz7yPI5DxeW11Q6ueU= =V0YM -----END PGP SIGNATURE----- Merge tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx into soc/dt arm64: Zynq DT changes for 6.15 - Align platforms with dt-schema - Describe QSPI * tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx: ARM: zynq: Do not define address/size-cells for nand-controller ARM: zynq: Remove ethernet0 alias from Microzed ARM: zynq: Add sdhci to alias node ARM: zynq: Enable QSPIs on platforms ARM: zynq: Fix fpga region DT nodes name ARM: zynq: Rename i2c?-gpio to i2c?-gpio-grp ARM: zynq: Define rtc alias on zc702/zc706 ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706 ARM: zynq: Define u-boot bootscrip addr via DT ARM: zynq: Wire smcc with nand/nor memories on zc770 platform ARM: zynq: Mark boot-phase-specific device nodes ARM: zynq: DT: List OCM memory for all platforms ARM: zynq: Remove deprecated device_type property ARM: zynq: Replace 'io-standard' with 'power-source' property Link: https://lore.kernel.org/r/CAHTX3d+DZo3thrakBf=QCq91QFeChoizuhVa6oBBj9E+sdEXAQ@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
a1b46780e4
|
|
@ -8,6 +8,13 @@ / {
|
|||
#size-cells = <1>;
|
||||
compatible = "xlnx,zynq-7000";
|
||||
|
||||
options {
|
||||
u-boot {
|
||||
compatible = "u-boot,config";
|
||||
bootscr-address = /bits/ 64 <0x3000000>;
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
@ -34,7 +41,7 @@ cpu1: cpu@1 {
|
|||
};
|
||||
};
|
||||
|
||||
fpga_full: fpga-full {
|
||||
fpga_full: fpga-region {
|
||||
compatible = "fpga-region";
|
||||
fpga-mgr = <&devcfg>;
|
||||
#address-cells = <1>;
|
||||
|
|
@ -93,6 +100,7 @@ replicator_in_port0: endpoint {
|
|||
};
|
||||
|
||||
amba: axi {
|
||||
bootph-all;
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
|
@ -190,6 +198,17 @@ mc: memory-controller@f8006000 {
|
|||
reg = <0xf8006000 0x1000>;
|
||||
};
|
||||
|
||||
ocm: sram@fffc0000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0xfffc0000 0x10000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0xfffc0000 0x10000>;
|
||||
ocm-sram@0 {
|
||||
reg = <0x0 0x10000>;
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@e0000000 {
|
||||
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
|
||||
status = "disabled";
|
||||
|
|
@ -277,13 +296,18 @@ smcc: memory-controller@e000e000 {
|
|||
0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <0 18 4>;
|
||||
|
||||
nfc0: nand-controller@0,0 {
|
||||
compatible = "arm,pl353-nand-r2p1";
|
||||
reg = <0 0 0x1000000>;
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
nor0: flash@1,0 {
|
||||
status = "disabled";
|
||||
compatible = "cfi-flash";
|
||||
reg = <1 0 0x2000000>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -308,12 +332,14 @@ sdhci1: mmc@e0101000 {
|
|||
};
|
||||
|
||||
slcr: slcr@f8000000 {
|
||||
bootph-all;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
|
||||
reg = <0xF8000000 0x1000>;
|
||||
ranges;
|
||||
clkc: clkc@100 {
|
||||
bootph-all;
|
||||
#clock-cells = <1>;
|
||||
compatible = "xlnx,ps7-clkc";
|
||||
fclk-enable = <0>;
|
||||
|
|
@ -398,6 +424,7 @@ ttc1: timer@f8002000 {
|
|||
};
|
||||
|
||||
scutimer: timer@f8f00600 {
|
||||
bootph-all;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <1 13 0x301>;
|
||||
compatible = "arm,cortex-a9-twd-timer";
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ / {
|
|||
aliases {
|
||||
ethernet0 = &gem0;
|
||||
serial0 = &uart0;
|
||||
spi0 = &qspi;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
@ -48,7 +49,44 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
flash@0 { /* 16 MB */
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0x0>;
|
||||
spi-max-frequency = <50000000>;
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot-bs";
|
||||
reg = <0x0 0x400000>; /* 4MB */
|
||||
};
|
||||
partition@400000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x400000 0x400000>; /* 4MB */
|
||||
};
|
||||
partition@800000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x800000 0x400000>; /* 4MB */
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-devicetree";
|
||||
reg = <0xc00000 0x100000>; /* 1MB */
|
||||
};
|
||||
partition@d00000 {
|
||||
label = "qspi-scratch";
|
||||
reg = <0xd00000 0x200000>; /* 2MB */
|
||||
};
|
||||
partition@f00000 {
|
||||
label = "qspi-uboot-env";
|
||||
reg = <0xf00000 0x100000>; /* 1MB */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -59,6 +97,7 @@ &sdhci1 {
|
|||
};
|
||||
|
||||
&uart0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ &gpio0 {
|
|||
&nfc0 {
|
||||
status = "okay";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
nand@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,8 +11,9 @@ / {
|
|||
compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &gem0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -35,6 +36,11 @@ &clkc {
|
|||
ps-clk-frequency = <33333333>;
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gem0 {
|
||||
status = "okay";
|
||||
phy-mode = "rgmii-id";
|
||||
|
|
@ -46,10 +52,12 @@ ethernet_phy: ethernet-phy@0 {
|
|||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ ethernet_phy: ethernet-phy@0 {
|
|||
compatible = "ethernet-phy-id0141.0e90",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
device_type = "ethernet-phy";
|
||||
marvell,reg-init = <0x3 0x10 0xff00 0x1e>,
|
||||
<0x3 0x11 0xfff0 0xa>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@ aliases {
|
|||
ethernet0 = &gem0;
|
||||
i2c0 = &i2c0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
nvmem0 = &eeprom;
|
||||
rtc0 = &rtc;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -63,19 +66,6 @@ usb_phy0: phy0 {
|
|||
};
|
||||
};
|
||||
|
||||
&amba {
|
||||
ocm: sram@fffc0000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0xfffc0000 0x10000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges = <0 0xfffc0000 0x10000>;
|
||||
ocm-sram@0 {
|
||||
reg = <0x0 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&can0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -95,7 +85,6 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@7 {
|
||||
reg = <7>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -152,7 +141,7 @@ i2c@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
eeprom@54 {
|
||||
eeprom: eeprom@54 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x54>;
|
||||
};
|
||||
|
|
@ -174,7 +163,7 @@ i2c@4 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
rtc@51 {
|
||||
rtc: rtc@51 {
|
||||
compatible = "nxp,pcf8563";
|
||||
reg = <0x51>;
|
||||
};
|
||||
|
|
@ -210,7 +199,7 @@ mux {
|
|||
conf {
|
||||
groups = "can0_9_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -233,7 +222,7 @@ mux {
|
|||
conf {
|
||||
groups = "ethernet0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <4>;
|
||||
power-source = <4>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -256,7 +245,7 @@ mux-mdio {
|
|||
conf-mdio {
|
||||
groups = "mdio0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
|
@ -274,7 +263,7 @@ conf {
|
|||
"gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
|
||||
"gpio0_13_grp", "gpio0_14_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-pull-up {
|
||||
|
|
@ -298,11 +287,11 @@ conf {
|
|||
groups = "i2c0_10_grp";
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_i2c0_gpio: i2c0-gpio {
|
||||
pinctrl_i2c0_gpio: i2c0-gpio-grp {
|
||||
mux {
|
||||
groups = "gpio0_50_grp", "gpio0_51_grp";
|
||||
function = "gpio0";
|
||||
|
|
@ -311,7 +300,7 @@ mux {
|
|||
conf {
|
||||
groups = "gpio0_50_grp", "gpio0_51_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -324,7 +313,7 @@ mux {
|
|||
conf {
|
||||
groups = "sdio0_2_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
|
|
@ -338,7 +327,7 @@ conf-cd {
|
|||
bias-high-impedance;
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
mux-wp {
|
||||
|
|
@ -351,7 +340,7 @@ conf-wp {
|
|||
bias-high-impedance;
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -364,7 +353,7 @@ mux {
|
|||
conf {
|
||||
groups = "uart1_10_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -387,7 +376,7 @@ mux {
|
|||
conf {
|
||||
groups = "usb0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -403,13 +392,53 @@ conf-tx {
|
|||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0x0>;
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-max-frequency = <50000000>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "qspi-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_sdhci0_default>;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart1_default>;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ aliases {
|
|||
ethernet0 = &gem0;
|
||||
i2c0 = &i2c0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
nvmem0 = &eeprom;
|
||||
rtc0 = &rtc;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -46,7 +49,6 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@7 {
|
||||
reg = <7>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -100,7 +102,7 @@ i2c@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
eeprom@54 {
|
||||
eeprom: eeprom@54 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x54>;
|
||||
};
|
||||
|
|
@ -122,7 +124,7 @@ i2c@4 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
rtc@51 {
|
||||
rtc: rtc@51 {
|
||||
compatible = "nxp,pcf8563";
|
||||
reg = <0x51>;
|
||||
};
|
||||
|
|
@ -150,7 +152,7 @@ mux {
|
|||
conf {
|
||||
groups = "ethernet0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <4>;
|
||||
power-source = <4>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -173,7 +175,7 @@ mux-mdio {
|
|||
conf-mdio {
|
||||
groups = "mdio0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
|
@ -187,7 +189,7 @@ mux {
|
|||
conf {
|
||||
groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-pull-up {
|
||||
|
|
@ -211,7 +213,7 @@ conf {
|
|||
groups = "i2c0_10_grp";
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -224,7 +226,7 @@ mux {
|
|||
conf {
|
||||
groups = "sdio0_2_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
|
|
@ -238,7 +240,7 @@ conf-cd {
|
|||
bias-high-impedance;
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
mux-wp {
|
||||
|
|
@ -251,7 +253,7 @@ conf-wp {
|
|||
bias-high-impedance;
|
||||
bias-pull-up;
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -264,7 +266,7 @@ mux {
|
|||
conf {
|
||||
groups = "uart1_10_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -287,7 +289,7 @@ mux {
|
|||
conf {
|
||||
groups = "usb0_0_grp";
|
||||
slew-rate = <0>;
|
||||
io-standard = <1>;
|
||||
power-source = <1>;
|
||||
};
|
||||
|
||||
conf-rx {
|
||||
|
|
@ -303,13 +305,54 @@ conf-tx {
|
|||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
num-cs = <2>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>, <1>;
|
||||
parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-max-frequency = <50000000>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "qspi-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_sdhci0_default>;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart1_default>;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ aliases {
|
|||
ethernet0 = &gem0;
|
||||
i2c0 = &i2c0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
spi1 = &spi1;
|
||||
};
|
||||
|
||||
|
|
@ -45,7 +46,6 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@7 {
|
||||
reg = <7>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -57,7 +57,43 @@ eeprom: eeprom@52 {
|
|||
compatible = "atmel,24c02";
|
||||
reg = <0x52>;
|
||||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0x0>;
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-max-frequency = <50000000>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "qspi-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
|
|
@ -85,6 +121,7 @@ partition@0 {
|
|||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,36 @@ eeprom: eeprom@52 {
|
|||
};
|
||||
};
|
||||
|
||||
&nfc0 {
|
||||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
nand@0 {
|
||||
reg = <0>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "nand-fsbl-uboot";
|
||||
reg = <0x0 0x1000000>;
|
||||
};
|
||||
partition@1000000 {
|
||||
label = "nand-linux";
|
||||
reg = <0x1000000 0x2000000>;
|
||||
};
|
||||
partition@3000000 {
|
||||
label = "nand-rootfs";
|
||||
reg = <0x3000000 0x200000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&smcc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
num-cs = <4>;
|
||||
|
|
@ -54,6 +84,7 @@ &spi0 {
|
|||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,40 @@ eeprom1: eeprom@52 {
|
|||
};
|
||||
};
|
||||
|
||||
&nor0 {
|
||||
status = "okay";
|
||||
bank-width = <1>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "nor-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "nor-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "nor-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "nor-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "nor-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&smcc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
num-cs = <4>;
|
||||
|
|
@ -60,5 +94,6 @@ &spi1 {
|
|||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ aliases {
|
|||
ethernet0 = &gem1;
|
||||
i2c0 = &i2c1;
|
||||
serial0 = &uart0;
|
||||
spi0 = &qspi;
|
||||
spi1 = &spi0;
|
||||
};
|
||||
|
||||
|
|
@ -40,7 +41,6 @@ &gem1 {
|
|||
|
||||
ethernet_phy: ethernet-phy@7 {
|
||||
reg = <7>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -58,6 +58,44 @@ si570: clock-generator@55 {
|
|||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
status = "okay";
|
||||
num-cs = <2>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>, <1>;
|
||||
parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-max-frequency = <50000000>;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "qspi-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
num-cs = <4>;
|
||||
|
|
@ -73,5 +111,6 @@ eeprom: eeprom@2 {
|
|||
};
|
||||
|
||||
&uart0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ / {
|
|||
aliases {
|
||||
ethernet0 = &gem0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
};
|
||||
|
||||
|
|
@ -43,15 +44,55 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-max-frequency = <50000000>;
|
||||
m25p,fast-read;
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
partition@0 {
|
||||
label = "qspi-fsbl-uboot";
|
||||
reg = <0x0 0x100000>;
|
||||
};
|
||||
partition@100000 {
|
||||
label = "qspi-linux";
|
||||
reg = <0x100000 0x500000>;
|
||||
};
|
||||
partition@600000 {
|
||||
label = "qspi-device-tree";
|
||||
reg = <0x600000 0x20000>;
|
||||
};
|
||||
partition@620000 {
|
||||
label = "qspi-rootfs";
|
||||
reg = <0x620000 0x5e0000>;
|
||||
};
|
||||
partition@c00000 {
|
||||
label = "qspi-bitstream";
|
||||
reg = <0xc00000 0x400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,11 @@ &clkc {
|
|||
ps-clk-frequency = <33333333>;
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gem0 {
|
||||
status = "okay";
|
||||
phy-mode = "rgmii-id";
|
||||
|
|
@ -73,14 +78,17 @@ ethernet_phy: ethernet-phy@0 {
|
|||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@ / {
|
|||
aliases {
|
||||
ethernet0 = &gem0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -49,15 +51,21 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ / {
|
|||
aliases {
|
||||
ethernet0 = &gem0;
|
||||
serial0 = &uart1;
|
||||
spi0 = &qspi;
|
||||
mmc0 = &sdhci0;
|
||||
};
|
||||
|
||||
|
|
@ -44,15 +45,21 @@ &gem0 {
|
|||
|
||||
ethernet_phy: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
device_type = "ethernet-phy";
|
||||
};
|
||||
};
|
||||
|
||||
&qspi {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
bootph-all;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user