Hi igor
I 've read it before.
Please help me some infomation:
1. in code below
- where can I get pins full name, and value assigned.
for example "MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO" and "0x70a1"
and CS PIN is "SS0" PIN, is it right ?
- other information, can we use the same as imx6 which is posted in discussion ?
=======
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog_1>;
imx6ul-evk {
...
pinctrl_ecspi4: ecspi4grp {
fsl,pins = <
MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO 0x70a1
MX6UL_PAD_ENET2_TX_ENi__ECSPI4_MOSI 0x70a1
MX6UL_PAD_ENET2_TX_DATA1__ECSPI4_SCLK 0x70a1
MX6UL_PAD_ENET2_RX_ER__ECSPI4_SS0 0x70a1
>;
};
...
};
...
&ecspi4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay";
};
=======
2. in code below, I do not clearly understand about it.
- "reset", "dc" name is automatically read by Linux, isn't it ?
- "30", "31" where can I find these value ?
======
{ "reset", 30 },
{ "dc", 31 },
{},
======
- When I use "echo" command for GPIO, I can enable PIN #RST = GPIO 198, #PWM = GPIO 200, #INT = GPIO 199
Can I use these value to replace above code ?
For example
=======
{"RST", 198} -> I think it is for power on (when I echo 1, power led of Oled display is ON)
{"PWM", 200}
{"INT", 199} -> is this neccessary ?
=======