mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 20:14:25 +08:00
090e563c91
All our pinctrl nodes were using a node name convention with a unit-address to differentiate the different muxing options. However, since those nodes didn't have a reg property, they were generating warnings in DTC. In order to accomodate for this, convert the old nodes to the syntax we've been using for the new SoCs, including removing the letter suffix of the node labels to the bank of those pins to make things more readable. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
57 lines
1.0 KiB
Plaintext
57 lines
1.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0 OR X11
|
|
/* Copyright (c) 2016 FUKAUMI Naoki <naobsd@gmail.com> */
|
|
|
|
/dts-v1/;
|
|
#include "sun8i-a33.dtsi"
|
|
#include "sunxi-common-regulators.dtsi"
|
|
|
|
/ {
|
|
model = "Nintendo NES Classic Edition";
|
|
compatible = "nintendo,nes-classic", "allwinner,sun8i-r16",
|
|
"allwinner,sun8i-a33";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
/*
|
|
* UART0 is available on two ports: PB and PF, both are accessible.
|
|
* PF can also be used for the SD card so PB is preferred.
|
|
*/
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pf_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&nfc {
|
|
status = "okay";
|
|
|
|
/* 2Gb Macronix MX30LF2G18AC (3V) */
|
|
nand@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0>;
|
|
allwinner,rb = <0>;
|
|
nand-ecc-mode = "hw";
|
|
nand-ecc-strength = <16>;
|
|
nand-ecc-step-size = <1024>;
|
|
};
|
|
};
|
|
|
|
&usb_otg {
|
|
status = "okay";
|
|
dr_mode = "otg";
|
|
};
|
|
|
|
&usbphy {
|
|
/* VBUS is always on because it is wired to the power supply */
|
|
usb1_vbus-supply = <®_vcc5v0>;
|
|
status = "okay";
|
|
};
|